@accounter/client 0.0.7-alpha-20250909082857-7a6db4f1210f8dc470584adae1cad1086934e985 → 0.0.7-alpha-20250909202744-b4d1f4d1fc1a5a5b064122d2a4485dda5744c21d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -108,536 +108,536 @@ Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}
108
108
  * This source code is licensed under the MIT license found in the
109
109
  * LICENSE file in the root directory of this source tree.
110
110
  */var Vfe;function xft(){if(Vfe)return Li;Vfe=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function k(C){if(typeof C=="object"&&C!==null){var N=C.$$typeof;switch(N){case t:switch(C=C.type,C){case l:case c:case r:case a:case i:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case u:case p:case m:case o:return C;default:return N}}case n:return N}}}function S(C){return k(C)===c}return Li.AsyncMode=l,Li.ConcurrentMode=c,Li.ContextConsumer=s,Li.ContextProvider=o,Li.Element=t,Li.ForwardRef=u,Li.Fragment=r,Li.Lazy=p,Li.Memo=m,Li.Portal=n,Li.Profiler=a,Li.StrictMode=i,Li.Suspense=f,Li.isAsyncMode=function(C){return S(C)||k(C)===l},Li.isConcurrentMode=S,Li.isContextConsumer=function(C){return k(C)===s},Li.isContextProvider=function(C){return k(C)===o},Li.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Li.isForwardRef=function(C){return k(C)===u},Li.isFragment=function(C){return k(C)===r},Li.isLazy=function(C){return k(C)===p},Li.isMemo=function(C){return k(C)===m},Li.isPortal=function(C){return k(C)===n},Li.isProfiler=function(C){return k(C)===a},Li.isStrictMode=function(C){return k(C)===i},Li.isSuspense=function(C){return k(C)===f},Li.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===c||C===a||C===i||C===f||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===p||C.$$typeof===m||C.$$typeof===o||C.$$typeof===s||C.$$typeof===u||C.$$typeof===v||C.$$typeof===y||C.$$typeof===x||C.$$typeof===A)},Li.typeOf=k,Li}var Qfe;function wft(){return Qfe||(Qfe=1,g7.exports=xft()),g7.exports}var v7,qfe;function kft(){if(qfe)return v7;qfe=1;var e=wft(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=i;function o(p){return e.isMemo(p)?i:a[p.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;function m(p,A,v){if(typeof A!="string"){if(h){var y=f(A);y&&y!==h&&m(p,y,v)}var x=l(A);c&&(x=x.concat(c(A)));for(var k=o(p),S=o(A),C=0;C<x.length;++C){var N=x[C];if(!n[N]&&!(v&&v[N])&&!(S&&S[N])&&!(k&&k[N])){var E=u(A,N);try{s(p,N,E)}catch{}}}}return p}return v7=m,v7}kft();var Sft=!0;function Bte(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Ite=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Sft===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},n3=function(t,n,r){Ite(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Cft(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _ft={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nft=/[A-Z]|^ms/g,Eft=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xje=function(t){return t.charCodeAt(1)===45},Gfe=function(t){return t!=null&&typeof t!="boolean"},y7=vje(function(e){return xje(e)?e:e.replace(Nft,"-$&").toLowerCase()}),Wfe=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Eft,function(r,i,a){return ip={name:i,styles:a,next:ip},i})}return _ft[t]!==1&&!xje(t)&&typeof n=="number"&&n!==0?n+"px":n};function iE(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return ip={name:i.name,styles:i.styles,next:ip},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)ip={name:o.name,styles:o.styles,next:ip},o=o.next;var s=a.styles+";";return s}return Fft(e,t,n)}case"function":{if(e!==void 0){var l=ip,c=n(e);return ip=l,iE(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function Fft(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=iE(e,t,n[i])+";";else for(var a in n){var o=n[a];if(typeof o!="object"){var s=o;t!=null&&t[s]!==void 0?r+=a+"{"+t[s]+"}":Gfe(s)&&(r+=y7(a)+":"+Wfe(a,s)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)Gfe(o[l])&&(r+=y7(a)+":"+Wfe(a,o[l])+";");else{var c=iE(e,t,o);switch(a){case"animation":case"animationName":{r+=y7(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var Kfe=/label:\s*([^\s;{]+)\s*(;|$)/g,ip;function JS(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";ip=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=iE(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=iE(n,t,e[s]),r){var l=a;i+=l[s]}Kfe.lastIndex=0;for(var c="",u;(u=Kfe.exec(i))!==null;)c+="-"+u[1];var f=Cft(i)+c;return{name:f,styles:i,next:ip}}var Dft=function(t){return t()},wje=rx.useInsertionEffect?rx.useInsertionEffect:!1,kje=wje||Dft,Yfe=wje||w.useLayoutEffect,Sje=w.createContext(typeof HTMLElement<"u"?bje({key:"css"}):null);Sje.Provider;var jte=function(t){return w.forwardRef(function(n,r){var i=w.useContext(Sje);return t(n,i,r)})},ix=w.createContext({}),Tft=function(t,n){if(typeof n=="function"){var r=n(t);return r}return ct({},t,n)},Oft=zfe(function(e){return zfe(function(t){return Tft(e,t)})}),Bft=function(t){var n=w.useContext(ix);return t.theme!==n&&(n=Oft(n)(t.theme)),w.createElement(ix.Provider,{value:n},t.children)},Pte={}.hasOwnProperty,wY="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ift=function(t,n){var r={};for(var i in n)Pte.call(n,i)&&(r[i]=n[i]);return r[wY]=t,r},jft=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Ite(n,r,i),kje(function(){return n3(n,r,i)}),null},Pft=jte(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[wY],a=[r],o="";typeof e.className=="string"?o=Bte(t.registered,a,e.className):e.className!=null&&(o=e.className+" ");var s=JS(a,void 0,w.useContext(ix));o+=t.key+"-"+s.name;var l={};for(var c in e)Pte.call(e,c)&&c!=="css"&&c!==wY&&(l[c]=e[c]);return l.className=o,n&&(l.ref=n),w.createElement(w.Fragment,null,w.createElement(jft,{cache:t,serialized:s,isStringTag:typeof i=="string"}),w.createElement(i,l))}),Mft=Pft,Xfe=function(t,n){var r=arguments;if(n==null||!Pte.call(n,"css"))return w.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=Mft,a[1]=Ift(t,n);for(var o=2;o<i;o++)a[o]=r[o];return w.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Xfe||(Xfe={}));var YF=jte(function(e,t){var n=e.styles,r=JS([n],void 0,w.useContext(ix)),i=w.useRef();return Yfe(function(){var a=t.key+"-global",o=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),o.hydrate([l])),i.current=[o,s],function(){o.flush()}},[t]),Yfe(function(){var a=i.current,o=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&n3(t,r.next,!0),o.tags.length){var l=o.tags[o.tags.length-1].nextElementSibling;o.before=l,o.flush()}t.insert("",r,o,!1)},[t,r.name]),null});function Mte(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return JS(t)}function Rx(){var e=Mte.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Rft=Object.defineProperty,$ft=Object.defineProperties,Lft=Object.getOwnPropertyDescriptors,Zfe=Object.getOwnPropertySymbols,Uft=Object.prototype.hasOwnProperty,zft=Object.prototype.propertyIsEnumerable,Jfe=(e,t,n)=>t in e?Rft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hft=(e,t)=>{for(var n in t||(t={}))Uft.call(t,n)&&Jfe(e,n,t[n]);if(Zfe)for(var n of Zfe(t))zft.call(t,n)&&Jfe(e,n,t[n]);return e},Vft=(e,t)=>$ft(e,Lft(t));function Qft({theme:e}){return L.createElement(YF,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:e.colorScheme==="dark"?"dark":"light"},body:Vft(Hft({},e.fn.fontStyles()),{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}function B_(e,t,n,r=Ve){Object.keys(t).forEach(i=>{e[`--mantine-${n}-${i}`]=r(t[i])})}function qft({theme:e}){const t={"--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-transition-timing-function":e.transitionTimingFunction,"--mantine-line-height":`${e.lineHeight}`,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":`${e.headings.fontWeight}`};B_(t,e.shadows,"shadow"),B_(t,e.fontSizes,"font-size"),B_(t,e.radius,"radius"),B_(t,e.spacing,"spacing"),B_(t,e.breakpoints,"breakpoints",XS),Object.keys(e.colors).forEach(r=>{e.colors[r].forEach((i,a)=>{t[`--mantine-color-${r}-${a}`]=i})});const n=e.headings.sizes;return Object.keys(n).forEach(r=>{t[`--mantine-${r}-font-size`]=n[r].fontSize,t[`--mantine-${r}-line-height`]=`${n[r].lineHeight}`}),L.createElement(YF,{styles:{":root":t}})}var Gft=Object.defineProperty,Wft=Object.defineProperties,Kft=Object.getOwnPropertyDescriptors,ehe=Object.getOwnPropertySymbols,Yft=Object.prototype.hasOwnProperty,Xft=Object.prototype.propertyIsEnumerable,the=(e,t,n)=>t in e?Gft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jm=(e,t)=>{for(var n in t||(t={}))Yft.call(t,n)&&the(e,n,t[n]);if(ehe)for(var n of ehe(t))Xft.call(t,n)&&the(e,n,t[n]);return e},b7=(e,t)=>Wft(e,Kft(t));function Zft(e,t){var n;if(!t)return e;const r=Object.keys(e).reduce((i,a)=>{if(a==="headings"&&t.headings){const o=t.headings.sizes?Object.keys(e.headings.sizes).reduce((s,l)=>(s[l]=jm(jm({},e.headings.sizes[l]),t.headings.sizes[l]),s),{}):e.headings.sizes;return b7(jm({},i),{headings:b7(jm(jm({},e.headings),t.headings),{sizes:o})})}if(a==="breakpoints"&&t.breakpoints){const o=jm(jm({},e.breakpoints),t.breakpoints);return b7(jm({},i),{breakpoints:Object.fromEntries(Object.entries(o).sort((s,l)=>Vh(s[1])-Vh(l[1])))})}return i[a]=typeof t[a]=="object"?jm(jm({},e[a]),t[a]):typeof t[a]=="number"||typeof t[a]=="boolean"||typeof t[a]=="function"?t[a]:t[a]||e[a],i},{});if(t?.fontFamily&&!((n=t?.headings)!=null&&n.fontFamily)&&(r.headings.fontFamily=t.fontFamily),!(r.primaryColor in r.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");return r}function Jft(e,t){return uje(Zft(e,t))}function Cje(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[n]=e[n]),t),{})}const eht={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:`${Ve(1)} dotted ButtonText`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"}};function tht(){return L.createElement(YF,{styles:eht})}var nht=Object.defineProperty,nhe=Object.getOwnPropertySymbols,rht=Object.prototype.hasOwnProperty,iht=Object.prototype.propertyIsEnumerable,rhe=(e,t,n)=>t in e?nht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A2=(e,t)=>{for(var n in t||(t={}))rht.call(t,n)&&rhe(e,n,t[n]);if(nhe)for(var n of nhe(t))iht.call(t,n)&&rhe(e,n,t[n]);return e};const Zj=w.createContext({theme:Fte});function Eu(){var e;return((e=w.useContext(Zj))==null?void 0:e.theme)||Fte}function aht(e){const t=Eu(),n=r=>{var i,a,o,s;return{styles:((i=t.components[r])==null?void 0:i.styles)||{},classNames:((a=t.components[r])==null?void 0:a.classNames)||{},variants:(o=t.components[r])==null?void 0:o.variants,sizes:(s=t.components[r])==null?void 0:s.sizes}};return Array.isArray(e)?e.map(n):[n(e)]}function _je(){var e;return(e=w.useContext(Zj))==null?void 0:e.emotionCache}function Qt(e,t,n){var r;const i=Eu(),a=(r=i.components[e])==null?void 0:r.defaultProps,o=typeof a=="function"?a(i):a;return A2(A2(A2({},t),o),Cje(n))}function Nje({theme:e,emotionCache:t,withNormalizeCSS:n=!1,withGlobalStyles:r=!1,withCSSVariables:i=!1,inherit:a=!1,children:o}){const s=w.useContext(Zj),l=Jft(Fte,a?A2(A2({},s.theme),e):e);return L.createElement(Bft,{theme:l},L.createElement(Zj.Provider,{value:{theme:l,emotionCache:t}},n&&L.createElement(tht,null),r&&L.createElement(Qft,{theme:l}),i&&L.createElement(qft,{theme:l}),typeof l.globalStyles=="function"&&L.createElement(YF,{styles:l.globalStyles(l)}),o))}Nje.displayName="@mantine/core/MantineProvider";const oht={app:100,modal:200,popover:300,overlay:400,max:9999};function $p(e){return oht[e]}function sht(e,t){const n=w.useRef();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map((r,i)=>r===t[i]).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}const lht=bje({key:"mantine",prepend:!0});function cht(){return _je()||lht}var uht=Object.defineProperty,ihe=Object.getOwnPropertySymbols,dht=Object.prototype.hasOwnProperty,fht=Object.prototype.propertyIsEnumerable,ahe=(e,t,n)=>t in e?uht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hht=(e,t)=>{for(var n in t||(t={}))dht.call(t,n)&&ahe(e,n,t[n]);if(ihe)for(var n of ihe(t))fht.call(t,n)&&ahe(e,n,t[n]);return e};const x7="ref";function mht(e){let t;if(e.length!==1)return{args:e,ref:t};const[n]=e;if(!(n instanceof Object))return{args:e,ref:t};if(!(x7 in n))return{args:e,ref:t};t=n[x7];const r=hht({},n);return delete r[x7],{args:[r],ref:t}}const{cssFactory:pht}=(()=>{function e(n,r,i){const a=[],o=Bte(n,a,i);return a.length<2?i:o+r(a)}function t(n){const{cache:r}=n,i=(...o)=>{const{ref:s,args:l}=mht(o),c=JS(l,r.registered);return n3(r,c,!1),`${r.key}-${c.name}${s===void 0?"":` ${s}`}`};return{css:i,cx:(...o)=>e(r.registered,i,oje(o))}}return{cssFactory:t}})();function Eje(){const e=cht();return sht(()=>pht({cache:e}),[e])}function Aht({cx:e,classes:t,context:n,classNames:r,name:i,cache:a}){const o=n.reduce((s,l)=>(Object.keys(l.classNames).forEach(c=>{typeof s[c]!="string"?s[c]=`${l.classNames[c]}`:s[c]=`${s[c]} ${l.classNames[c]}`}),s),{});return Object.keys(t).reduce((s,l)=>(s[l]=e(t[l],o[l],r!=null&&r[l],Array.isArray(i)?i.filter(Boolean).map(c=>`${a?.key||"mantine"}-${c}-${l}`).join(" "):i?`${a?.key||"mantine"}-${i}-${l}`:null),s),{})}var ght=Object.defineProperty,ohe=Object.getOwnPropertySymbols,vht=Object.prototype.hasOwnProperty,yht=Object.prototype.propertyIsEnumerable,she=(e,t,n)=>t in e?ght(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w7=(e,t)=>{for(var n in t||(t={}))vht.call(t,n)&&she(e,n,t[n]);if(ohe)for(var n of ohe(t))yht.call(t,n)&&she(e,n,t[n]);return e};function kY(e,t){return t&&Object.keys(t).forEach(n=>{e[n]?e[n]=w7(w7({},e[n]),t[n]):e[n]=w7({},t[n])}),e}function lhe(e,t,n,r){const i=a=>typeof a=="function"?a(t,n||{},r):a||{};return Array.isArray(e)?e.map(a=>i(a.styles)).reduce((a,o)=>kY(a,o),{}):i(e)}function bht({ctx:e,theme:t,params:n,variant:r,size:i}){return e.reduce((a,o)=>(o.variants&&r in o.variants&&kY(a,o.variants[r](t,n,{variant:r,size:i})),o.sizes&&i in o.sizes&&kY(a,o.sizes[i](t,n,{variant:r,size:i})),a),{})}function ln(e){const t=typeof e=="function"?e:()=>e;function n(r,i){const a=Eu(),o=aht(i?.name),s=_je(),l={variant:i?.variant,size:i?.size},{css:c,cx:u}=Eje(),f=t(a,r,l),h=lhe(i?.styles,a,r,l),m=lhe(o,a,r,l),p=bht({ctx:o,theme:a,params:r,variant:i?.variant,size:i?.size}),A=Object.fromEntries(Object.keys(f).map(v=>{const y=u({[c(f[v])]:!i?.unstyled},c(p[v]),c(m[v]),c(h[v]));return[v,y]}));return{classes:Aht({cx:u,classes:A,context:o,classNames:i?.classNames,name:i?.name,cache:s}),cx:u,theme:a}}return n}function $b(e){return`___ref-${e||""}`}var xht=Object.defineProperty,wht=Object.defineProperties,kht=Object.getOwnPropertyDescriptors,che=Object.getOwnPropertySymbols,Sht=Object.prototype.hasOwnProperty,Cht=Object.prototype.propertyIsEnumerable,uhe=(e,t,n)=>t in e?xht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I_=(e,t)=>{for(var n in t||(t={}))Sht.call(t,n)&&uhe(e,n,t[n]);if(che)for(var n of che(t))Cht.call(t,n)&&uhe(e,n,t[n]);return e},j_=(e,t)=>wht(e,kht(t));const P_={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${Ve(10)})`},transitionProperty:"transform, opacity"},VO={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${Ve(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${Ve(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${Ve(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${Ve(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:j_(I_({},P_),{common:{transformOrigin:"center center"}}),"pop-bottom-left":j_(I_({},P_),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":j_(I_({},P_),{common:{transformOrigin:"bottom right"}}),"pop-top-left":j_(I_({},P_),{common:{transformOrigin:"top left"}}),"pop-top-right":j_(I_({},P_),{common:{transformOrigin:"top right"}})},dhe=["mousedown","touchstart"];function _ht(e,t,n){const r=w.useRef();return w.useEffect(()=>{const i=a=>{const{target:o}=a??{};if(Array.isArray(n)){const s=o?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(o)&&o.tagName!=="HTML";n.every(c=>!!c&&!a.composedPath().includes(c))&&!s&&e()}else r.current&&!r.current.contains(o)&&e()};return(t||dhe).forEach(a=>document.addEventListener(a,i)),()=>{(t||dhe).forEach(a=>document.removeEventListener(a,i))}},[r,e,n]),r}function Nht(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function Eht(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function Fht(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[r,i]=w.useState(n?t:Eht(e)),a=w.useRef();return w.useEffect(()=>{if("matchMedia"in window)return a.current=window.matchMedia(e),i(a.current.matches),Nht(a.current,o=>i(o.matches))},[e]),r}function g2(e,t,n){return Math.min(Math.max(e,t),n)}const Rte=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Pl(e,t){const n=w.useRef(!1);w.useEffect(()=>()=>{n.current=!1},[]),w.useEffect(()=>{if(n.current)return e();n.current=!0},t)}function Fje({opened:e,shouldReturnFocus:t=!0}){const n=w.useRef(),r=()=>{var i;n.current&&"focus"in n.current&&typeof n.current.focus=="function"&&((i=n.current)==null||i.focus({preventScroll:!0}))};return Pl(()=>{let i=-1;const a=o=>{o.key==="Tab"&&window.clearTimeout(i)};return document.addEventListener("keydown",a),e?n.current=document.activeElement:t&&(i=window.setTimeout(r,10)),()=>{window.clearTimeout(i),document.removeEventListener("keydown",a)}},[e,t]),r}const Dht=/input|select|textarea|button|object/,Dje="a, input, select, textarea, button, object, [tabindex]";function Tht(e){return e.style.display==="none"}function Oht(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let n=e;for(;n&&!(n===document.body||n.nodeType===11);){if(Tht(n))return!1;n=n.parentNode}return!0}function Tje(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function SY(e){const t=e.nodeName.toLowerCase(),n=!Number.isNaN(Tje(e));return(Dht.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&Oht(e)}function Oje(e){const t=Tje(e);return(Number.isNaN(t)||t>=0)&&SY(e)}function Bht(e){return Array.from(e.querySelectorAll(Dje)).filter(Oje)}function Iht(e,t){const n=Bht(e);if(!n.length){t.preventDefault();return}const r=n[t.shiftKey?0:n.length-1],i=e.getRootNode();if(!(r===i.activeElement||e===i.activeElement))return;t.preventDefault();const o=n[t.shiftKey?n.length-1:0];o&&o.focus()}function $te(){return`mantine-${Math.random().toString(36).slice(2,11)}`}function jht(e,t="body > :not(script)"){const n=$te(),r=Array.from(document.querySelectorAll(t)).map(i=>{var a;if((a=i?.shadowRoot)!=null&&a.contains(e)||i.contains(e))return;const o=i.getAttribute("aria-hidden"),s=i.getAttribute("data-hidden"),l=i.getAttribute("data-focus-id");return i.setAttribute("data-focus-id",n),o===null||o==="false"?i.setAttribute("aria-hidden","true"):!s&&!l&&i.setAttribute("data-hidden",o),{node:i,ariaHidden:s||null}});return()=>{r.forEach(i=>{!i||n!==i.node.getAttribute("data-focus-id")||(i.ariaHidden===null?i.node.removeAttribute("aria-hidden"):i.node.setAttribute("aria-hidden",i.ariaHidden),i.node.removeAttribute("data-focus-id"),i.node.removeAttribute("data-hidden"))})}}function Pht(e=!0){const t=w.useRef(),n=w.useRef(null),r=a=>{let o=a.querySelector("[data-autofocus]");if(!o){const s=Array.from(a.querySelectorAll(Dje));o=s.find(Oje)||s.find(SY)||null,!o&&SY(a)&&(o=a)}o&&o.focus({preventScroll:!0})},i=w.useCallback(a=>{if(e){if(a===null){n.current&&(n.current(),n.current=null);return}n.current=jht(a),t.current!==a&&(a?(setTimeout(()=>{a.getRootNode()&&r(a)}),t.current=a):t.current=null)}},[e]);return w.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const a=o=>{o.key==="Tab"&&t.current&&Iht(t.current,o)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a),n.current&&n.current()}},[e]),i}const Mht=L.useId||(()=>{});function Rht(){const e=Mht();return e?`mantine-${e.replace(/:/g,"")}`:""}function $x(e){const t=Rht(),[n,r]=w.useState(t);return Rte(()=>{r($te())},[]),typeof e=="string"?e:typeof window>"u"?t:n}function CY(e,t,n){w.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}function r3(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}function Bje(...e){return t=>{e.forEach(n=>r3(n,t))}}function Lp(...e){return w.useCallback(Bje(...e),e)}function $c({value:e,defaultValue:t,finalValue:n,onChange:r=()=>{}}){const[i,a]=w.useState(t!==void 0?t:n),o=s=>{a(s),r?.(s)};return e!==void 0?[e,r,!0]:[i,o,!1]}function gv(e,t){const n=t-e+1;return Array.from({length:n},(r,i)=>i+e)}const QO="dots";function $ht({total:e,siblings:t=1,boundaries:n=1,page:r,initialPage:i=1,onChange:a}){const o=Math.max(Math.trunc(e),0),[s,l]=$c({value:r,onChange:a,defaultValue:i,finalValue:i}),c=A=>{A<=0?l(1):A>o?l(o):l(A)},u=()=>c(s+1),f=()=>c(s-1),h=()=>c(1),m=()=>c(o);return{range:w.useMemo(()=>{if(t*2+3+n*2>=o)return gv(1,o);const v=Math.max(s-t,n),y=Math.min(s+t,o-n),x=v>n+2,k=y<o-(n+1);if(!x&&k){const S=t*2+n+2;return[...gv(1,S),QO,...gv(o-(n-1),o)]}if(x&&!k){const S=n+1+2*t;return[...gv(1,n),QO,...gv(o-S,o)]}return[...gv(1,n),QO,...gv(v,y),QO,...gv(o-n+1,o)]},[o,t,s]),active:s,setPage:c,next:u,previous:f,first:h,last:m}}function i3(e,t){return Fht("(prefers-reduced-motion: reduce)",e,t)}const Lht=e=>e<.5?2*e*e:-1+(4-2*e)*e,Uht=({axis:e,target:t,parent:n,alignment:r,offset:i,isList:a})=>{if(!t||!n&&typeof document>"u")return 0;const o=!!n,l=(n||document.body).getBoundingClientRect(),c=t.getBoundingClientRect(),u=f=>c[f]-l[f];if(e==="y"){const f=u("top");if(f===0)return 0;if(r==="start"){const m=f-i;return m<=c.height*(a?0:1)||!a?m:0}const h=o?l.height:window.innerHeight;if(r==="end"){const m=f+i-h+c.height;return m>=-c.height*(a?0:1)||!a?m:0}return r==="center"?f-h/2+c.height/2:0}if(e==="x"){const f=u("left");if(f===0)return 0;if(r==="start"){const m=f-i;return m<=c.width||!a?m:0}const h=o?l.width:window.innerWidth;if(r==="end"){const m=f+i-h+c.width;return m>=-c.width||!a?m:0}return r==="center"?f-h/2+c.width/2:0}return 0},zht=({axis:e,parent:t})=>{if(!t&&typeof document>"u")return 0;const n=e==="y"?"scrollTop":"scrollLeft";if(t)return t[n];const{body:r,documentElement:i}=document;return r[n]+i[n]},Hht=({axis:e,parent:t,distance:n})=>{if(!t&&typeof document>"u")return;const r=e==="y"?"scrollTop":"scrollLeft";if(t)t[r]=n;else{const{body:i,documentElement:a}=document;i[r]=n,a[r]=n}};function Ije({duration:e=1250,axis:t="y",onScrollFinish:n,easing:r=Lht,offset:i=0,cancelable:a=!0,isList:o=!1}={}){const s=w.useRef(0),l=w.useRef(0),c=w.useRef(!1),u=w.useRef(null),f=w.useRef(null),h=i3(),m=()=>{s.current&&cancelAnimationFrame(s.current)},p=w.useCallback(({alignment:v="start"}={})=>{var y;c.current=!1,s.current&&m();const x=(y=zht({parent:u.current,axis:t}))!=null?y:0,k=Uht({parent:u.current,target:f.current,axis:t,alignment:v,offset:i,isList:o})-(u.current?0:x);function S(){l.current===0&&(l.current=performance.now());const N=performance.now()-l.current,E=h||e===0?1:N/e,D=x+k*r(E);Hht({parent:u.current,axis:t,distance:D}),!c.current&&E<1?s.current=requestAnimationFrame(S):(typeof n=="function"&&n(),l.current=0,s.current=0,m())}S()},[t,e,r,o,i,n,h]),A=()=>{a&&(c.current=!0)};return CY("wheel",A,{passive:!0}),CY("touchmove",A,{passive:!0}),w.useEffect(()=>m,[]),{scrollableRef:u,targetRef:f,scrollIntoView:p,cancel:m}}function fhe(){if(typeof window>"u")return"undetermined";const{userAgent:e}=window.navigator,t=/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i,n=/(Win32)|(Win64)|(Windows)|(WinCE)/i,r=/(iPhone)|(iPad)|(iPod)/i;return t.test(e)?"macos":r.test(e)?"ios":n.test(e)?"windows":/Android/i.test(e)?"android":/Linux/i.test(e)?"linux":"undetermined"}function Vht(e={getValueInEffect:!0}){const[t,n]=w.useState(e.getValueInEffect?"undetermined":fhe());return Rte(()=>{e.getValueInEffect&&n(fhe)},[]),t}function as(e=!1,t){const{onOpen:n,onClose:r}={},[i,a]=w.useState(e),o=w.useCallback(()=>{a(c=>c||(n?.(),!0))},[n]),s=w.useCallback(()=>{a(c=>c&&(r?.(),!1))},[r]),l=w.useCallback(()=>{i?s():o()},[s,o,i]);return[i,{open:o,close:s,toggle:l}]}function hhe(e){return typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1)}const Jj={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"},[Qht,eP]=Qf(Jj.context);function qht({children:e,multiple:t,value:n,defaultValue:r,onChange:i,id:a,loop:o,transitionDuration:s,disableChevronRotation:l,chevronPosition:c,chevronSize:u,order:f,chevron:h,variant:m,radius:p,classNames:A,styles:v,unstyled:y}){const x=$x(a),[k,S]=$c({value:n,defaultValue:r,finalValue:t?[]:null,onChange:i}),C=E=>Array.isArray(k)?k.includes(E):E===k,N=E=>{const D=Array.isArray(k)?k.includes(E)?k.filter(T=>T!==E):[...k,E]:E===k?null:E;S(D)};return L.createElement(Qht,{value:{isItemActive:C,onChange:N,getControlId:Ife(`${x}-control`,Jj.value),getRegionId:Ife(`${x}-panel`,Jj.value),transitionDuration:s,disableChevronRotation:l,chevronPosition:c,chevronSize:u,order:f,chevron:h,loop:o,variant:m,radius:p,classNames:A,styles:v,unstyled:y}},e)}const[Ght,jje]=Qf(Jj.itemContext);function Wht(e,t,{radius:n}){const r=e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3],i=e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0],a=e.fn.radius(n);return t==="default"?{color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,borderBottom:`${Ve(1)} solid ${r}`}:t==="contained"?{border:`${Ve(1)} solid ${r}`,transition:"background-color 150ms ease","&[data-active]":{backgroundColor:i},"&:first-of-type":{borderTopRightRadius:a,borderTopLeftRadius:a,"& > [data-accordion-control]":{borderTopRightRadius:a,borderTopLeftRadius:a}},"&:last-of-type":{borderBottomRightRadius:a,borderBottomLeftRadius:a,"& > [data-accordion-control]":{borderBottomRightRadius:a,borderBottomLeftRadius:a}},"& + &":{borderTop:0}}:t==="filled"?{borderRadius:a,"&[data-active]":{backgroundColor:i}}:t==="separated"?{borderRadius:a,backgroundColor:i,border:`${Ve(1)} solid transparent`,transition:"background-color 150ms ease","& + &":{marginTop:e.spacing.md},"&[data-active]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,borderColor:r}}:{}}var Kht=ln((e,t,{variant:n})=>({item:Wht(e,n,t)})),mhe=Object.getOwnPropertySymbols,Yht=Object.prototype.hasOwnProperty,Xht=Object.prototype.propertyIsEnumerable,Zht=(e,t)=>{var n={};for(var r in e)Yht.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mhe)for(var r of mhe(e))t.indexOf(r)<0&&Xht.call(e,r)&&(n[r]=e[r]);return n};function eC(e){const t=e,{m:n,mx:r,my:i,mt:a,mb:o,ml:s,mr:l,p:c,px:u,py:f,pt:h,pb:m,pl:p,pr:A,bg:v,c:y,opacity:x,ff:k,fz:S,fw:C,lts:N,ta:E,lh:D,fs:T,tt:P,td:O,w:B,miw:M,maw:$,h:U,mih:j,mah:V,bgsz:Q,bgp:X,bgr:Z,bga:le,pos:H,top:G,left:W,bottom:te,right:re,inset:ne,display:de}=t,he=Zht(t,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:Cje({m:n,mx:r,my:i,mt:a,mb:o,ml:s,mr:l,p:c,px:u,py:f,pt:h,pb:m,pl:p,pr:A,bg:v,c:y,opacity:x,ff:k,fz:S,fw:C,lts:N,ta:E,lh:D,fs:T,tt:P,td:O,w:B,miw:M,maw:$,h:U,mih:j,mah:V,bgsz:Q,bgp:X,bgr:Z,bga:le,pos:H,top:G,left:W,bottom:te,right:re,inset:ne,display:de}),rest:he}}function Jht(e,t){const n=Object.keys(e).filter(r=>r!=="base").sort((r,i)=>Vh(Ot({size:r,sizes:t.breakpoints}))-Vh(Ot({size:i,sizes:t.breakpoints})));return"base"in e?["base",...n]:n}function emt({value:e,theme:t,getValue:n,property:r}){if(e==null)return;if(typeof e=="object")return Jht(e,t).reduce((o,s)=>{if(s==="base"&&e.base!==void 0){const c=n(e.base,t);return Array.isArray(r)?(r.forEach(u=>{o[u]=c}),o):(o[r]=c,o)}const l=n(e[s],t);return Array.isArray(r)?(o[t.fn.largerThan(s)]={},r.forEach(c=>{o[t.fn.largerThan(s)][c]=l}),o):(o[t.fn.largerThan(s)]={[r]:l},o)},{});const i=n(e,t);return Array.isArray(r)?r.reduce((a,o)=>(a[o]=i,a),{}):{[r]:i}}function tmt(e,t){return e==="dimmed"?t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6]:t.fn.variant({variant:"filled",color:e,primaryFallback:!1}).background}function nmt(e){return Ve(e)}function rmt(e){return e}function imt(e,t){return Ot({size:e,sizes:t.fontSizes})}const amt=["-xs","-sm","-md","-lg","-xl"];function omt(e,t){return amt.includes(e)?`calc(${Ot({size:e.replace("-",""),sizes:t.spacing})} * -1)`:Ot({size:e,sizes:t.spacing})}const smt={identity:rmt,color:tmt,size:nmt,fontSize:imt,spacing:omt},lmt={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"identity",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"identity",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"}};var cmt=Object.defineProperty,phe=Object.getOwnPropertySymbols,umt=Object.prototype.hasOwnProperty,dmt=Object.prototype.propertyIsEnumerable,Ahe=(e,t,n)=>t in e?cmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ghe=(e,t)=>{for(var n in t||(t={}))umt.call(t,n)&&Ahe(e,n,t[n]);if(phe)for(var n of phe(t))dmt.call(t,n)&&Ahe(e,n,t[n]);return e};function vhe(e,t,n=lmt){return Object.keys(n).reduce((i,a)=>(a in e&&e[a]!==void 0&&i.push(emt({value:e[a],getValue:smt[n[a].type],property:n[a].property,theme:t})),i),[]).reduce((i,a)=>(Object.keys(a).forEach(o=>{typeof a[o]=="object"&&a[o]!==null&&o in i?i[o]=ghe(ghe({},i[o]),a[o]):i[o]=a[o]}),i),{})}function yhe(e,t){return typeof e=="function"?e(t):e}function fmt(e,t,n){const r=Eu(),{css:i,cx:a}=Eje();return Array.isArray(e)?a(n,i(vhe(t,r)),e.map(o=>i(yhe(o,r)))):a(n,i(yhe(e,r)),i(vhe(t,r)))}var hmt=Object.defineProperty,tP=Object.getOwnPropertySymbols,Pje=Object.prototype.hasOwnProperty,Mje=Object.prototype.propertyIsEnumerable,bhe=(e,t,n)=>t in e?hmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mmt=(e,t)=>{for(var n in t||(t={}))Pje.call(t,n)&&bhe(e,n,t[n]);if(tP)for(var n of tP(t))Mje.call(t,n)&&bhe(e,n,t[n]);return e},pmt=(e,t)=>{var n={};for(var r in e)Pje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tP)for(var r of tP(e))t.indexOf(r)<0&&Mje.call(e,r)&&(n[r]=e[r]);return n};const Rje=w.forwardRef((e,t)=>{var n=e,{className:r,component:i,style:a,sx:o}=n,s=pmt(n,["className","component","style","sx"]);const{systemStyles:l,rest:c}=eC(s),u=i||"div";return L.createElement(u,mmt({ref:t,className:fmt(o,l,r),style:a},c))});Rje.displayName="@mantine/core/Box";const Fn=Rje;var Amt=Object.defineProperty,nP=Object.getOwnPropertySymbols,$je=Object.prototype.hasOwnProperty,Lje=Object.prototype.propertyIsEnumerable,xhe=(e,t,n)=>t in e?Amt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gmt=(e,t)=>{for(var n in t||(t={}))$je.call(t,n)&&xhe(e,n,t[n]);if(nP)for(var n of nP(t))Lje.call(t,n)&&xhe(e,n,t[n]);return e},vmt=(e,t)=>{var n={};for(var r in e)$je.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&nP)for(var r of nP(e))t.indexOf(r)<0&&Lje.call(e,r)&&(n[r]=e[r]);return n};const ymt={},Uje=w.forwardRef((e,t)=>{const n=Qt("AccordionItem",ymt,e),{children:r,className:i,value:a}=n,o=vmt(n,["children","className","value"]),s=eP(),{classes:l,cx:c}=Kht({radius:s.radius},{name:"Accordion",classNames:s.classNames,styles:s.styles,unstyled:s.unstyled,variant:s.variant});return L.createElement(Ght,{value:{value:a}},L.createElement(Fn,gmt({ref:t,className:c(l.item,i),"data-active":s.isItemActive(a)||void 0},o),r))});Uje.displayName="@mantine/core/AccordionItem";var bmt=Object.defineProperty,xmt=Object.defineProperties,wmt=Object.getOwnPropertyDescriptors,whe=Object.getOwnPropertySymbols,kmt=Object.prototype.hasOwnProperty,Smt=Object.prototype.propertyIsEnumerable,khe=(e,t,n)=>t in e?bmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qO=(e,t)=>{for(var n in t||(t={}))kmt.call(t,n)&&khe(e,n,t[n]);if(whe)for(var n of whe(t))Smt.call(t,n)&&khe(e,n,t[n]);return e},Cmt=(e,t)=>xmt(e,wmt(t));function _mt(e,t){return t==="default"||t==="contained"?e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]}):{}}var Nmt=ln((e,{transitionDuration:t,chevronPosition:n,chevronSize:r},{variant:i})=>({icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:n==="left"?0:e.spacing.sm,marginLeft:n==="left"?e.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:`transform ${t}ms ease`,marginRight:n==="right"?0:e.spacing.sm,marginLeft:n==="right"?e.spacing.lg:0,width:Ve(r),minWidth:Ve(r),"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.md,paddingBottom:e.spacing.md},itemTitle:{margin:0,padding:0},control:Cmt(qO(qO(qO({},e.fn.focusStyles()),e.fn.fontStyles()),_mt(e,i)),{width:"100%",display:"flex",alignItems:"center",flexDirection:n==="right"?"row-reverse":"row",paddingRight:e.spacing.md,paddingLeft:n==="right"?`calc(${e.spacing.md} + ${Ve(4)})`:e.spacing.xs,textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,"&:disabled":qO({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))})})),Emt=Object.defineProperty,Fmt=Object.defineProperties,Dmt=Object.getOwnPropertyDescriptors,She=Object.getOwnPropertySymbols,Tmt=Object.prototype.hasOwnProperty,Omt=Object.prototype.propertyIsEnumerable,Che=(e,t,n)=>t in e?Emt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_he=(e,t)=>{for(var n in t||(t={}))Tmt.call(t,n)&&Che(e,n,t[n]);if(She)for(var n of She(t))Omt.call(t,n)&&Che(e,n,t[n]);return e},Bmt=(e,t)=>Fmt(e,Dmt(t)),Imt=ln(e=>({root:Bmt(_he(_he({},e.fn.focusStyles()),e.fn.fontStyles()),{cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:e.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,textDecoration:"none",boxSizing:"border-box"})})),jmt=Object.defineProperty,rP=Object.getOwnPropertySymbols,zje=Object.prototype.hasOwnProperty,Hje=Object.prototype.propertyIsEnumerable,Nhe=(e,t,n)=>t in e?jmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pmt=(e,t)=>{for(var n in t||(t={}))zje.call(t,n)&&Nhe(e,n,t[n]);if(rP)for(var n of rP(t))Hje.call(t,n)&&Nhe(e,n,t[n]);return e},Mmt=(e,t)=>{var n={};for(var r in e)zje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rP)for(var r of rP(e))t.indexOf(r)<0&&Hje.call(e,r)&&(n[r]=e[r]);return n};const Vje=w.forwardRef((e,t)=>{const n=Qt("UnstyledButton",{},e),{className:r,component:i="button",unstyled:a,variant:o}=n,s=Mmt(n,["className","component","unstyled","variant"]),{classes:l,cx:c}=Imt(null,{name:"UnstyledButton",unstyled:a,variant:o});return L.createElement(Fn,Pmt({component:i,ref:t,className:c(l.root,r),type:i==="button"?"button":void 0},s))});Vje.displayName="@mantine/core/UnstyledButton";const bd=Vje;var Rmt=Object.defineProperty,$mt=Object.defineProperties,Lmt=Object.getOwnPropertyDescriptors,iP=Object.getOwnPropertySymbols,Qje=Object.prototype.hasOwnProperty,qje=Object.prototype.propertyIsEnumerable,Ehe=(e,t,n)=>t in e?Rmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Umt=(e,t)=>{for(var n in t||(t={}))Qje.call(t,n)&&Ehe(e,n,t[n]);if(iP)for(var n of iP(t))qje.call(t,n)&&Ehe(e,n,t[n]);return e},zmt=(e,t)=>$mt(e,Lmt(t)),Hmt=(e,t)=>{var n={};for(var r in e)Qje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&iP)for(var r of iP(e))t.indexOf(r)<0&&qje.call(e,r)&&(n[r]=e[r]);return n};const Vmt={},Gje=w.forwardRef((e,t)=>{const n=Qt("AccordionControl",Vmt,e),{disabled:r,onKeyDown:i,onClick:a,chevron:o,children:s,className:l,icon:c}=n,u=Hmt(n,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),f=eP(),{value:h}=jje(),{classes:m,cx:p}=Nmt({transitionDuration:f.transitionDuration,chevronPosition:f.chevronPosition,chevronSize:f.chevronSize,radius:f.radius},{name:"Accordion",classNames:f.classNames,styles:f.styles,unstyled:f.unstyled,variant:f.variant}),A=f.isItemActive(h),v=typeof f.order=="number",y=`h${f.order}`,x=L.createElement(bd,zmt(Umt({},u),{ref:t,"data-accordion-control":!0,disabled:r,className:p(m.control,l),onClick:k=>{a?.(k),f.onChange(h)},type:"button","data-active":A||void 0,"aria-expanded":A,"aria-controls":f.getRegionId(h),id:f.getControlId(h),unstyled:f.unstyled,onKeyDown:nje({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:f.loop,orientation:"vertical",onKeyDown:i})}),L.createElement("span",{className:m.chevron,"data-rotate":!f.disableChevronRotation&&A||void 0},o||f.chevron),L.createElement("span",{className:m.label},s),c&&L.createElement("span",{className:m.icon},c));return v?L.createElement(y,{className:m.itemTitle},x):x});Gje.displayName="@mantine/core/AccordionControl";var Qmt=Object.defineProperty,qmt=Object.defineProperties,Gmt=Object.getOwnPropertyDescriptors,Fhe=Object.getOwnPropertySymbols,Wmt=Object.prototype.hasOwnProperty,Kmt=Object.prototype.propertyIsEnumerable,Dhe=(e,t,n)=>t in e?Qmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ymt=(e,t)=>{for(var n in t||(t={}))Wmt.call(t,n)&&Dhe(e,n,t[n]);if(Fhe)for(var n of Fhe(t))Kmt.call(t,n)&&Dhe(e,n,t[n]);return e},Xmt=(e,t)=>qmt(e,Gmt(t)),Zmt=ln((e,t)=>({panel:Xmt(Ymt({},e.fn.fontStyles()),{wordBreak:"break-word",lineHeight:e.lineHeight}),content:{padding:e.spacing.md,paddingTop:`calc(${e.spacing.xs} / 2)`}})),Jmt=Object.defineProperty,ept=Object.defineProperties,tpt=Object.getOwnPropertyDescriptors,aP=Object.getOwnPropertySymbols,Wje=Object.prototype.hasOwnProperty,Kje=Object.prototype.propertyIsEnumerable,The=(e,t,n)=>t in e?Jmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$0=(e,t)=>{for(var n in t||(t={}))Wje.call(t,n)&&The(e,n,t[n]);if(aP)for(var n of aP(t))Kje.call(t,n)&&The(e,n,t[n]);return e},k7=(e,t)=>ept(e,tpt(t)),npt=(e,t)=>{var n={};for(var r in e)Wje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&aP)for(var r of aP(e))t.indexOf(r)<0&&Kje.call(e,r)&&(n[r]=e[r]);return n};function rpt(e){if(!e||typeof e=="string")return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function S7(e){return e?.current?e.current.scrollHeight:"auto"}const GO=typeof window<"u"&&window.requestAnimationFrame;function ipt({transitionDuration:e,transitionTimingFunction:t="ease",onTransitionEnd:n=()=>{},opened:r}){const i=w.useRef(null),a=0,o={display:"none",height:0,overflow:"hidden"},[s,l]=w.useState(r?{}:o),c=p=>{Vf.flushSync(()=>l(p))},u=p=>{c(A=>$0($0({},A),p))};function f(p){return{transition:`height ${e||rpt(p)}ms ${t}`}}Pl(()=>{GO(r?()=>{u({willChange:"height",display:"block",overflow:"hidden"}),GO(()=>{const p=S7(i);u(k7($0({},f(p)),{height:p}))})}:()=>{const p=S7(i);u(k7($0({},f(p)),{willChange:"height",height:p})),GO(()=>u({height:a,overflow:"hidden"}))})},[r]);const h=p=>{if(!(p.target!==i.current||p.propertyName!=="height"))if(r){const A=S7(i);A===s.height?c({}):u({height:A}),n()}else s.height===a&&(c(o),n())};function m(p={}){var A=p,{style:v={},refKey:y="ref"}=A,x=npt(A,["style","refKey"]);const k=x[y];return k7($0({"aria-hidden":!r},x),{[y]:Bje(i,k),onTransitionEnd:h,style:$0($0({boxSizing:"border-box"},v),s)})}return m}var apt=Object.defineProperty,oP=Object.getOwnPropertySymbols,Yje=Object.prototype.hasOwnProperty,Xje=Object.prototype.propertyIsEnumerable,Ohe=(e,t,n)=>t in e?apt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WO=(e,t)=>{for(var n in t||(t={}))Yje.call(t,n)&&Ohe(e,n,t[n]);if(oP)for(var n of oP(t))Xje.call(t,n)&&Ohe(e,n,t[n]);return e},opt=(e,t)=>{var n={};for(var r in e)Yje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&oP)for(var r of oP(e))t.indexOf(r)<0&&Xje.call(e,r)&&(n[r]=e[r]);return n};const spt={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},a3=w.forwardRef((e,t)=>{const n=Qt("Collapse",spt,e),{children:r,in:i,transitionDuration:a,transitionTimingFunction:o,style:s,onTransitionEnd:l,animateOpacity:c}=n,u=opt(n,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),f=Eu(),h=i3(),p=(f.respectReducedMotion?h:!1)?0:a,{systemStyles:A,rest:v}=eC(u),y=ipt({opened:i,transitionDuration:p,transitionTimingFunction:o,onTransitionEnd:l});return p===0?i?L.createElement(Fn,WO({},v),r):null:L.createElement(Fn,WO({},y(WO(WO({style:s,ref:t},v),A))),L.createElement("div",{style:{opacity:i||!c?1:0,transition:c?`opacity ${p}ms ${o}`:"none"}},r))});a3.displayName="@mantine/core/Collapse";var lpt=Object.defineProperty,cpt=Object.defineProperties,upt=Object.getOwnPropertyDescriptors,sP=Object.getOwnPropertySymbols,Zje=Object.prototype.hasOwnProperty,Jje=Object.prototype.propertyIsEnumerable,Bhe=(e,t,n)=>t in e?lpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dpt=(e,t)=>{for(var n in t||(t={}))Zje.call(t,n)&&Bhe(e,n,t[n]);if(sP)for(var n of sP(t))Jje.call(t,n)&&Bhe(e,n,t[n]);return e},fpt=(e,t)=>cpt(e,upt(t)),hpt=(e,t)=>{var n={};for(var r in e)Zje.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&sP)for(var r of sP(e))t.indexOf(r)<0&&Jje.call(e,r)&&(n[r]=e[r]);return n};const mpt={};function ePe(e){const t=Qt("AccordionPanel",mpt,e),{children:n,className:r}=t,i=hpt(t,["children","className"]),a=eP(),{value:o}=jje(),{classNames:s,styles:l,unstyled:c}=eP(),{classes:u,cx:f}=Zmt({radius:a.radius},{name:"Accordion",classNames:s,styles:l,unstyled:c,variant:a.variant});return L.createElement(a3,fpt(dpt({},i),{className:f(u.panel,r),in:a.isItemActive(o),transitionDuration:a.transitionDuration,role:"region",id:a.getRegionId(o),"aria-labelledby":a.getControlId(o)}),L.createElement("div",{className:u.content},n))}ePe.displayName="@mantine/core/AccordionPanel";var ppt=Object.defineProperty,lP=Object.getOwnPropertySymbols,tPe=Object.prototype.hasOwnProperty,nPe=Object.prototype.propertyIsEnumerable,Ihe=(e,t,n)=>t in e?ppt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jhe=(e,t)=>{for(var n in t||(t={}))tPe.call(t,n)&&Ihe(e,n,t[n]);if(lP)for(var n of lP(t))nPe.call(t,n)&&Ihe(e,n,t[n]);return e},Apt=(e,t)=>{var n={};for(var r in e)tPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lP)for(var r of lP(e))t.indexOf(r)<0&&nPe.call(e,r)&&(n[r]=e[r]);return n};function aE(e){const t=e,{style:n}=t,r=Apt(t,["style"]);return L.createElement("svg",jhe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:jhe({width:Ve(16),height:Ve(16)},n)},r),L.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var gpt=Object.defineProperty,vpt=Object.defineProperties,ypt=Object.getOwnPropertyDescriptors,cP=Object.getOwnPropertySymbols,rPe=Object.prototype.hasOwnProperty,iPe=Object.prototype.propertyIsEnumerable,Phe=(e,t,n)=>t in e?gpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bpt=(e,t)=>{for(var n in t||(t={}))rPe.call(t,n)&&Phe(e,n,t[n]);if(cP)for(var n of cP(t))iPe.call(t,n)&&Phe(e,n,t[n]);return e},xpt=(e,t)=>vpt(e,ypt(t)),wpt=(e,t)=>{var n={};for(var r in e)rPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cP)for(var r of cP(e))t.indexOf(r)<0&&iPe.call(e,r)&&(n[r]=e[r]);return n};const kpt={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:L.createElement(aE,null)};function Rn(e){const t=Qt("Accordion",kpt,e),{id:n,loop:r,children:i,multiple:a,value:o,defaultValue:s,onChange:l,transitionDuration:c,disableChevronRotation:u,chevronPosition:f,chevronSize:h,order:m,chevron:p,classNames:A,styles:v,unstyled:y,variant:x,radius:k}=t,S=wpt(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return L.createElement(qht,{id:n,multiple:a,value:o,defaultValue:s,onChange:l,loop:r,transitionDuration:c,disableChevronRotation:u,chevronPosition:f,chevronSize:h,order:m,chevron:p,variant:x,radius:k,classNames:A,styles:v,unstyled:y},L.createElement(Fn,xpt(bpt({},S),{"data-accordion":!0}),i))}Rn.Item=Uje;Rn.Control=Gje;Rn.Panel=ePe;Rn.displayName="@mantine/core/Accordion";var Spt=Object.defineProperty,Cpt=Object.defineProperties,_pt=Object.getOwnPropertyDescriptors,Mhe=Object.getOwnPropertySymbols,Npt=Object.prototype.hasOwnProperty,Ept=Object.prototype.propertyIsEnumerable,Rhe=(e,t,n)=>t in e?Spt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_Y=(e,t)=>{for(var n in t||(t={}))Npt.call(t,n)&&Rhe(e,n,t[n]);if(Mhe)for(var n of Mhe(t))Ept.call(t,n)&&Rhe(e,n,t[n]);return e},$he=(e,t)=>Cpt(e,_pt(t));const Fpt=["subtle","filled","outline","light","default","transparent","gradient"],KO={xs:Ve(18),sm:Ve(22),md:Ve(28),lg:Ve(34),xl:Ve(44)};function Dpt({variant:e,theme:t,color:n,gradient:r}){const i=t.fn.variant({color:n,variant:e,gradient:r});return e==="gradient"?{border:0,backgroundImage:i.background,color:i.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:Fpt.includes(e)?_Y({border:`${Ve(1)} solid ${i.border}`,backgroundColor:i.background,color:i.color},t.fn.hover({backgroundColor:i.hover})):null}var Tpt=ln((e,{radius:t,color:n,gradient:r},{variant:i,size:a})=>({root:$he(_Y({position:"relative",borderRadius:e.fn.radius(t),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:Ot({size:a,sizes:KO}),minHeight:Ot({size:a,sizes:KO}),width:Ot({size:a,sizes:KO}),minWidth:Ot({size:a,sizes:KO})},Dpt({variant:i,theme:e,color:n,gradient:r})),{"&:active":e.activeStyles,"& [data-action-icon-loader]":{maxWidth:"70%"},"&:disabled, &[data-disabled]":{color:e.colors.gray[e.colorScheme==="dark"?6:4],cursor:"not-allowed",backgroundColor:i==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),borderColor:i==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":$he(_Y({content:'""'},e.fn.cover(Ve(-1))),{backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(t),cursor:"not-allowed"})}})})),Opt=Object.defineProperty,uP=Object.getOwnPropertySymbols,aPe=Object.prototype.hasOwnProperty,oPe=Object.prototype.propertyIsEnumerable,Lhe=(e,t,n)=>t in e?Opt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uhe=(e,t)=>{for(var n in t||(t={}))aPe.call(t,n)&&Lhe(e,n,t[n]);if(uP)for(var n of uP(t))oPe.call(t,n)&&Lhe(e,n,t[n]);return e},zhe=(e,t)=>{var n={};for(var r in e)aPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&uP)for(var r of uP(e))t.indexOf(r)<0&&oPe.call(e,r)&&(n[r]=e[r]);return n};function Bpt(e){var t=e,{size:n,color:r}=t,i=zhe(t,["size","color"]);const a=i,{style:o}=a,s=zhe(a,["style"]);return L.createElement("svg",Uhe({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:r,style:Uhe({width:n},o)},s),L.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var Ipt=Object.defineProperty,dP=Object.getOwnPropertySymbols,sPe=Object.prototype.hasOwnProperty,lPe=Object.prototype.propertyIsEnumerable,Hhe=(e,t,n)=>t in e?Ipt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vhe=(e,t)=>{for(var n in t||(t={}))sPe.call(t,n)&&Hhe(e,n,t[n]);if(dP)for(var n of dP(t))lPe.call(t,n)&&Hhe(e,n,t[n]);return e},Qhe=(e,t)=>{var n={};for(var r in e)sPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&dP)for(var r of dP(e))t.indexOf(r)<0&&lPe.call(e,r)&&(n[r]=e[r]);return n};function jpt(e){var t=e,{size:n,color:r}=t,i=Qhe(t,["size","color"]);const a=i,{style:o}=a,s=Qhe(a,["style"]);return L.createElement("svg",Vhe({viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:r,style:Vhe({width:n,height:n},o)},s),L.createElement("g",{fill:"none",fillRule:"evenodd"},L.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},L.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),L.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},L.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))}var Ppt=Object.defineProperty,fP=Object.getOwnPropertySymbols,cPe=Object.prototype.hasOwnProperty,uPe=Object.prototype.propertyIsEnumerable,qhe=(e,t,n)=>t in e?Ppt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ghe=(e,t)=>{for(var n in t||(t={}))cPe.call(t,n)&&qhe(e,n,t[n]);if(fP)for(var n of fP(t))uPe.call(t,n)&&qhe(e,n,t[n]);return e},Whe=(e,t)=>{var n={};for(var r in e)cPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&fP)for(var r of fP(e))t.indexOf(r)<0&&uPe.call(e,r)&&(n[r]=e[r]);return n};function Mpt(e){var t=e,{size:n,color:r}=t,i=Whe(t,["size","color"]);const a=i,{style:o}=a,s=Whe(a,["style"]);return L.createElement("svg",Ghe({viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:r,style:Ghe({width:n},o)},s),L.createElement("circle",{cx:"15",cy:"15",r:"15"},L.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},L.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("circle",{cx:"105",cy:"15",r:"15"},L.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var Rpt=Object.defineProperty,hP=Object.getOwnPropertySymbols,dPe=Object.prototype.hasOwnProperty,fPe=Object.prototype.propertyIsEnumerable,Khe=(e,t,n)=>t in e?Rpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$pt=(e,t)=>{for(var n in t||(t={}))dPe.call(t,n)&&Khe(e,n,t[n]);if(hP)for(var n of hP(t))fPe.call(t,n)&&Khe(e,n,t[n]);return e},Lpt=(e,t)=>{var n={};for(var r in e)dPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&hP)for(var r of hP(e))t.indexOf(r)<0&&fPe.call(e,r)&&(n[r]=e[r]);return n};const C7={bars:Bpt,oval:jpt,dots:Mpt},Upt={xs:Ve(18),sm:Ve(22),md:Ve(36),lg:Ve(44),xl:Ve(58)},zpt={size:"md"};function io(e){const t=Qt("Loader",zpt,e),{size:n,color:r,variant:i}=t,a=Lpt(t,["size","color","variant"]),o=Eu(),s=i in C7?i:o.loader;return L.createElement(Fn,$pt({role:"presentation",component:C7[s]||C7.bars,size:Ot({size:n,sizes:Upt}),color:o.fn.variant({variant:"filled",primaryFallback:!1,color:r||o.primaryColor}).background},a))}io.displayName="@mantine/core/Loader";var Hpt=Object.defineProperty,mP=Object.getOwnPropertySymbols,hPe=Object.prototype.hasOwnProperty,mPe=Object.prototype.propertyIsEnumerable,Yhe=(e,t,n)=>t in e?Hpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xhe=(e,t)=>{for(var n in t||(t={}))hPe.call(t,n)&&Yhe(e,n,t[n]);if(mP)for(var n of mP(t))mPe.call(t,n)&&Yhe(e,n,t[n]);return e},Vpt=(e,t)=>{var n={};for(var r in e)hPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mP)for(var r of mP(e))t.indexOf(r)<0&&mPe.call(e,r)&&(n[r]=e[r]);return n};const Qpt={color:"gray",size:"md",variant:"subtle"},pPe=w.forwardRef((e,t)=>{const n=Qt("ActionIcon",Qpt,e),{className:r,color:i,children:a,radius:o,size:s,variant:l,gradient:c,disabled:u,loaderProps:f,loading:h,unstyled:m,__staticSelector:p}=n,A=Vpt(n,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:v,cx:y,theme:x}=Tpt({radius:o,color:i,gradient:c},{name:["ActionIcon",p],unstyled:m,size:s,variant:l}),k=L.createElement(io,Xhe({color:x.fn.variant({color:i,variant:l}).color,size:"100%","data-action-icon-loader":!0},f));return L.createElement(bd,Xhe({className:y(v.root,r),ref:t,disabled:u,"data-disabled":u||void 0,"data-loading":h||void 0,unstyled:m},A),h?k:a)});pPe.displayName="@mantine/core/ActionIcon";const APe=pPe;var qpt=Object.defineProperty,Gpt=Object.defineProperties,Wpt=Object.getOwnPropertyDescriptors,pP=Object.getOwnPropertySymbols,gPe=Object.prototype.hasOwnProperty,vPe=Object.prototype.propertyIsEnumerable,Zhe=(e,t,n)=>t in e?qpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kpt=(e,t)=>{for(var n in t||(t={}))gPe.call(t,n)&&Zhe(e,n,t[n]);if(pP)for(var n of pP(t))vPe.call(t,n)&&Zhe(e,n,t[n]);return e},Ypt=(e,t)=>Gpt(e,Wpt(t)),Xpt=(e,t)=>{var n={};for(var r in e)gPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&pP)for(var r of pP(e))t.indexOf(r)<0&&vPe.call(e,r)&&(n[r]=e[r]);return n};function yPe(e){const t=Qt("Portal",{},e),{children:n,target:r,className:i,innerRef:a}=t,o=Xpt(t,["children","target","className","innerRef"]),s=Eu(),[l,c]=w.useState(!1),u=w.useRef();return Rte(()=>(c(!0),u.current=r?typeof r=="string"?document.querySelector(r):r:document.createElement("div"),r||document.body.appendChild(u.current),()=>{!r&&document.body.removeChild(u.current)}),[r]),l?Vf.createPortal(L.createElement("div",Ypt(Kpt({className:i,dir:s.dir},o),{ref:a}),n),u.current):null}yPe.displayName="@mantine/core/Portal";var Zpt=Object.defineProperty,AP=Object.getOwnPropertySymbols,bPe=Object.prototype.hasOwnProperty,xPe=Object.prototype.propertyIsEnumerable,Jhe=(e,t,n)=>t in e?Zpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jpt=(e,t)=>{for(var n in t||(t={}))bPe.call(t,n)&&Jhe(e,n,t[n]);if(AP)for(var n of AP(t))xPe.call(t,n)&&Jhe(e,n,t[n]);return e},eAt=(e,t)=>{var n={};for(var r in e)bPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&AP)for(var r of AP(e))t.indexOf(r)<0&&xPe.call(e,r)&&(n[r]=e[r]);return n};function tC(e){var t=e,{withinPortal:n=!0,children:r}=t,i=eAt(t,["withinPortal","children"]);return n?L.createElement(yPe,Jpt({},i),r):L.createElement(L.Fragment,null,r)}tC.displayName="@mantine/core/OptionalPortal";var tAt=Object.defineProperty,gP=Object.getOwnPropertySymbols,wPe=Object.prototype.hasOwnProperty,kPe=Object.prototype.propertyIsEnumerable,eme=(e,t,n)=>t in e?tAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tme=(e,t)=>{for(var n in t||(t={}))wPe.call(t,n)&&eme(e,n,t[n]);if(gP)for(var n of gP(t))kPe.call(t,n)&&eme(e,n,t[n]);return e},nAt=(e,t)=>{var n={};for(var r in e)wPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&gP)for(var r of gP(e))t.indexOf(r)<0&&kPe.call(e,r)&&(n[r]=e[r]);return n};function SPe(e){const t=e,{width:n,height:r,style:i}=t,a=nAt(t,["width","height","style"]);return L.createElement("svg",tme({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:tme({width:n,height:r},i)},a),L.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}SPe.displayName="@mantine/core/CloseIcon";var rAt=Object.defineProperty,vP=Object.getOwnPropertySymbols,CPe=Object.prototype.hasOwnProperty,_Pe=Object.prototype.propertyIsEnumerable,nme=(e,t,n)=>t in e?rAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iAt=(e,t)=>{for(var n in t||(t={}))CPe.call(t,n)&&nme(e,n,t[n]);if(vP)for(var n of vP(t))_Pe.call(t,n)&&nme(e,n,t[n]);return e},aAt=(e,t)=>{var n={};for(var r in e)CPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&vP)for(var r of vP(e))t.indexOf(r)<0&&_Pe.call(e,r)&&(n[r]=e[r]);return n};const oAt={xs:Ve(12),sm:Ve(16),md:Ve(20),lg:Ve(28),xl:Ve(34)},sAt={size:"sm"},NPe=w.forwardRef((e,t)=>{const n=Qt("CloseButton",sAt,e),{iconSize:r,size:i,children:a}=n,o=aAt(n,["iconSize","size","children"]),s=Ve(r||oAt[i]);return L.createElement(APe,iAt({ref:t,__staticSelector:"CloseButton",size:i},o),a||L.createElement(SPe,{width:s,height:s}))});NPe.displayName="@mantine/core/CloseButton";const XF=NPe;var lAt=Object.defineProperty,cAt=Object.defineProperties,uAt=Object.getOwnPropertyDescriptors,rme=Object.getOwnPropertySymbols,dAt=Object.prototype.hasOwnProperty,fAt=Object.prototype.propertyIsEnumerable,ime=(e,t,n)=>t in e?lAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YO=(e,t)=>{for(var n in t||(t={}))dAt.call(t,n)&&ime(e,n,t[n]);if(rme)for(var n of rme(t))fAt.call(t,n)&&ime(e,n,t[n]);return e},hAt=(e,t)=>cAt(e,uAt(t));function mAt({underline:e,strikethrough:t}){const n=[];return e&&n.push("underline"),t&&n.push("line-through"),n.length>0?n.join(" "):"none"}function pAt({theme:e,color:t}){return t==="dimmed"?e.fn.dimmed():typeof t=="string"&&(t in e.colors||t.split(".")[0]in e.colors)?e.fn.variant({variant:"filled",color:t}).background:t||"inherit"}function AAt(e){return typeof e=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}:null}function gAt({theme:e,truncate:t}){return t==="start"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:e.dir==="ltr"?"rtl":"ltr",textAlign:e.dir==="ltr"?"right":"left"}:t?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}var vAt=ln((e,{color:t,lineClamp:n,truncate:r,inline:i,inherit:a,underline:o,gradient:s,weight:l,transform:c,align:u,strikethrough:f,italic:h},{size:m})=>{const p=e.fn.variant({variant:"gradient",gradient:s});return{root:hAt(YO(YO(YO(YO({},e.fn.fontStyles()),e.fn.focusStyles()),AAt(n)),gAt({theme:e,truncate:r})),{color:pAt({color:t,theme:e}),fontFamily:a?"inherit":e.fontFamily,fontSize:a||m===void 0?"inherit":Ot({size:m,sizes:e.fontSizes}),lineHeight:a?"inherit":i?1:e.lineHeight,textDecoration:mAt({underline:o,strikethrough:f}),WebkitTapHighlightColor:"transparent",fontWeight:a?"inherit":l,textTransform:c,textAlign:u,fontStyle:h?"italic":void 0}),gradient:{backgroundImage:p.background,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}}),yAt=Object.defineProperty,yP=Object.getOwnPropertySymbols,EPe=Object.prototype.hasOwnProperty,FPe=Object.prototype.propertyIsEnumerable,ame=(e,t,n)=>t in e?yAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bAt=(e,t)=>{for(var n in t||(t={}))EPe.call(t,n)&&ame(e,n,t[n]);if(yP)for(var n of yP(t))FPe.call(t,n)&&ame(e,n,t[n]);return e},xAt=(e,t)=>{var n={};for(var r in e)EPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&yP)for(var r of yP(e))t.indexOf(r)<0&&FPe.call(e,r)&&(n[r]=e[r]);return n};const wAt={variant:"text"},DPe=w.forwardRef((e,t)=>{const n=Qt("Text",wAt,e),{className:r,size:i,weight:a,transform:o,color:s,align:l,variant:c,lineClamp:u,truncate:f,gradient:h,inline:m,inherit:p,underline:A,strikethrough:v,italic:y,classNames:x,styles:k,unstyled:S,span:C,__staticSelector:N}=n,E=xAt(n,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span","__staticSelector"]),{classes:D,cx:T}=vAt({color:s,lineClamp:u,truncate:f,inline:m,inherit:p,underline:A,strikethrough:v,italic:y,weight:a,transform:o,align:l,gradient:h},{unstyled:S,name:N||"Text",variant:c,size:i});return L.createElement(Fn,bAt({ref:t,className:T(D.root,{[D.gradient]:c==="gradient"},r),component:C?"span":"div"},E))});DPe.displayName="@mantine/core/Text";const er=DPe,XO={xs:Ve(1),sm:Ve(2),md:Ve(3),lg:Ve(4),xl:Ve(5)};function ZO(e,t){const n=e.fn.variant({variant:"outline",color:t}).border;return typeof t=="string"&&(t in e.colors||t.split(".")[0]in e.colors)?n:t===void 0?e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]:t}var kAt=ln((e,{color:t},{size:n,variant:r})=>({root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:Ve(1),borderTop:`${Ot({size:n,sizes:XO})} ${r} ${ZO(e,t)}`,marginRight:e.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${Ot({size:n,sizes:XO})} ${r} ${ZO(e,t)}`,marginLeft:e.spacing.xs}},labelDefaultStyles:{color:t==="dark"?e.colors.dark[1]:e.fn.themeColor(t,e.colorScheme==="dark"?5:e.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:Ve(Ot({size:n,sizes:XO})),borderTopColor:ZO(e,t),borderTopStyle:r,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:Ve(Ot({size:n,sizes:XO})),borderLeftColor:ZO(e,t),borderLeftStyle:r}})),SAt=Object.defineProperty,CAt=Object.defineProperties,_At=Object.getOwnPropertyDescriptors,bP=Object.getOwnPropertySymbols,TPe=Object.prototype.hasOwnProperty,OPe=Object.prototype.propertyIsEnumerable,ome=(e,t,n)=>t in e?SAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sme=(e,t)=>{for(var n in t||(t={}))TPe.call(t,n)&&ome(e,n,t[n]);if(bP)for(var n of bP(t))OPe.call(t,n)&&ome(e,n,t[n]);return e},NAt=(e,t)=>CAt(e,_At(t)),EAt=(e,t)=>{var n={};for(var r in e)TPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bP)for(var r of bP(e))t.indexOf(r)<0&&OPe.call(e,r)&&(n[r]=e[r]);return n};const FAt={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},NY=w.forwardRef((e,t)=>{const n=Qt("Divider",FAt,e),{className:r,color:i,orientation:a,size:o,label:s,labelPosition:l,labelProps:c,variant:u,styles:f,classNames:h,unstyled:m}=n,p=EAt(n,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:A,cx:v}=kAt({color:i},{classNames:h,styles:f,unstyled:m,name:"Divider",variant:u,size:o}),y=a==="vertical",x=a==="horizontal",k=!!s&&x,S=!c?.color;return L.createElement(Fn,sme({ref:t,className:v(A.root,{[A.vertical]:y,[A.horizontal]:x,[A.withLabel]:k},r),role:"separator"},p),k&&L.createElement(er,NAt(sme({},c),{size:c?.size||"xs",mt:Ve(2),className:v(A.label,A[l],{[A.labelDefaultStyles]:S})}),s))});NY.displayName="@mantine/core/Divider";var DAt=Object.defineProperty,TAt=Object.defineProperties,OAt=Object.getOwnPropertyDescriptors,lme=Object.getOwnPropertySymbols,BAt=Object.prototype.hasOwnProperty,IAt=Object.prototype.propertyIsEnumerable,cme=(e,t,n)=>t in e?DAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ume=(e,t)=>{for(var n in t||(t={}))BAt.call(t,n)&&cme(e,n,t[n]);if(lme)for(var n of lme(t))IAt.call(t,n)&&cme(e,n,t[n]);return e},jAt=(e,t)=>TAt(e,OAt(t)),PAt=ln((e,t,{size:n})=>({item:jAt(ume({},e.fn.fontStyles()),{boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:`calc(${Ot({size:n,sizes:e.spacing})} / 1.5) ${Ot({size:n,sizes:e.spacing})}`,cursor:"pointer",fontSize:Ot({size:n,sizes:e.fontSizes}),color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,borderRadius:e.fn.radius(),"&[data-hovered]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[1]},"&[data-selected]":ume({backgroundColor:e.fn.variant({variant:"filled"}).background,color:e.fn.variant({variant:"filled"}).color},e.fn.hover({backgroundColor:e.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:e.colors.dark[2]}}),nothingFound:{boxSizing:"border-box",color:e.colors.gray[6],paddingTop:`calc(${Ot({size:n,sizes:e.spacing})} / 2)`,paddingBottom:`calc(${Ot({size:n,sizes:e.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${Ot({size:n,sizes:e.spacing})} / 1.5) ${Ot({size:n,sizes:e.spacing})}`},separatorLabel:{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}})),MAt=Object.defineProperty,dme=Object.getOwnPropertySymbols,RAt=Object.prototype.hasOwnProperty,$At=Object.prototype.propertyIsEnumerable,fme=(e,t,n)=>t in e?MAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,LAt=(e,t)=>{for(var n in t||(t={}))RAt.call(t,n)&&fme(e,n,t[n]);if(dme)for(var n of dme(t))$At.call(t,n)&&fme(e,n,t[n]);return e};function Lte({data:e,hovered:t,classNames:n,styles:r,isItemSelected:i,uuid:a,__staticSelector:o,onItemHover:s,onItemSelect:l,itemsRefs:c,itemComponent:u,size:f,nothingFound:h,creatable:m,createLabel:p,unstyled:A,variant:v}){const{classes:y}=PAt(null,{classNames:n,styles:r,unstyled:A,name:o,variant:v,size:f}),x=[],k=[];let S=null;const C=(E,D)=>{const T=typeof i=="function"?i(E.value):!1;return L.createElement(u,LAt({key:E.value,className:y.item,"data-disabled":E.disabled||void 0,"data-hovered":!E.disabled&&t===D||void 0,"data-selected":!E.disabled&&T||void 0,selected:T,onMouseEnter:()=>s(D),id:`${a}-${D}`,role:"option",tabIndex:-1,"aria-selected":t===D,ref:P=>{c&&c.current&&(c.current[E.value]=P)},onMouseDown:E.disabled?null:P=>{P.preventDefault(),l(E)},disabled:E.disabled,variant:v},E))};let N=null;if(e.forEach((E,D)=>{E.creatable?S=D:E.group?(N!==E.group&&(N=E.group,k.push(L.createElement("div",{className:y.separator,key:`__mantine-divider-${D}`},L.createElement(NY,{classNames:{label:y.separatorLabel},label:E.group})))),k.push(C(E,D))):x.push(C(E,D))}),m){const E=e[S];x.push(L.createElement("div",{key:$te(),className:y.item,"data-hovered":t===S||void 0,onMouseEnter:()=>s(S),onMouseDown:D=>{D.preventDefault(),l(E)},tabIndex:-1,ref:D=>{c&&c.current&&(c.current[E.value]=D)}},p))}return k.length>0&&x.length>0&&x.unshift(L.createElement("div",{className:y.separator,key:"empty-group-separator"},L.createElement(NY,null))),k.length>0||x.length>0?L.createElement(L.Fragment,null,k,x):L.createElement(er,{size:f,unstyled:A,className:y.nothingFound},h)}Lte.displayName="@mantine/core/SelectItems";var UAt=Object.defineProperty,xP=Object.getOwnPropertySymbols,BPe=Object.prototype.hasOwnProperty,IPe=Object.prototype.propertyIsEnumerable,hme=(e,t,n)=>t in e?UAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zAt=(e,t)=>{for(var n in t||(t={}))BPe.call(t,n)&&hme(e,n,t[n]);if(xP)for(var n of xP(t))IPe.call(t,n)&&hme(e,n,t[n]);return e},HAt=(e,t)=>{var n={};for(var r in e)BPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&xP)for(var r of xP(e))t.indexOf(r)<0&&IPe.call(e,r)&&(n[r]=e[r]);return n};const Ute=w.forwardRef((e,t)=>{var n=e,{label:r,value:i}=n,a=HAt(n,["label","value"]);return L.createElement("div",zAt({ref:t},a),r||i)});Ute.displayName="@mantine/core/DefaultItem";function VAt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function jPe(...e){return t=>e.forEach(n=>VAt(n,t))}function Lx(...e){return w.useCallback(jPe(...e),e)}const PPe=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),a=i.find(qAt);if(a){const o=a.props.children,s=i.map(l=>l===a?w.Children.count(o)>1?w.Children.only(null):w.isValidElement(o)?o.props.children:null:l);return w.createElement(EY,ct({},r,{ref:t}),w.isValidElement(o)?w.cloneElement(o,void 0,s):null)}return w.createElement(EY,ct({},r,{ref:t}),n)});PPe.displayName="Slot";const EY=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...GAt(r,n.props),ref:jPe(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});EY.displayName="SlotClone";const QAt=({children:e})=>w.createElement(w.Fragment,null,e);function qAt(e){return w.isValidElement(e)&&e.type===QAt}function GAt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{a(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const WAt=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ZF=WAt.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?PPe:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,ct({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),FY=globalThis?.document?w.useLayoutEffect:()=>{};function KAt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const JF=e=>{const{present:t,children:n}=e,r=YAt(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),a=Lx(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:a}):null};JF.displayName="Presence";function YAt(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),a=w.useRef("none"),o=e?"mounted":"unmounted",[s,l]=KAt(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=JO(r.current);a.current=s==="mounted"?c:"none"},[s]),FY(()=>{const c=r.current,u=i.current;if(u!==e){const h=a.current,m=JO(c);e?l("MOUNT"):m==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&h!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),FY(()=>{if(t){const c=f=>{const m=JO(r.current).includes(f.animationName);f.target===t&&m&&Vf.flushSync(()=>l("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=JO(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function JO(e){return e?.animationName||"none"}function XAt(e,t=[]){let n=[];function r(a,o){const s=w.createContext(o),l=n.length;n=[...n,o];function c(f){const{scope:h,children:m,...p}=f,A=h?.[e][l]||s,v=w.useMemo(()=>p,Object.values(p));return w.createElement(A.Provider,{value:v},m)}function u(f,h){const m=h?.[e][l]||s,p=w.useContext(m);if(p)return p;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,u]}const i=()=>{const a=n.map(o=>w.createContext(o));return function(s){const l=s?.[e]||a;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,ZAt(i,...t)]}function ZAt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const f=l(a)[`__scope${c}`];return{...s,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function hb(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}const JAt=w.createContext(void 0);function egt(e){const t=w.useContext(JAt);return e||t||"ltr"}function tgt(e,[t,n]){return Math.min(n,Math.max(t,e))}function Lb(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)}}function ngt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const MPe="ScrollArea",[RPe,BWn]=XAt(MPe),[rgt,qf]=RPe(MPe),igt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:a=600,...o}=e,[s,l]=w.useState(null),[c,u]=w.useState(null),[f,h]=w.useState(null),[m,p]=w.useState(null),[A,v]=w.useState(null),[y,x]=w.useState(0),[k,S]=w.useState(0),[C,N]=w.useState(!1),[E,D]=w.useState(!1),T=Lx(t,O=>l(O)),P=egt(i);return w.createElement(rgt,{scope:n,type:r,dir:P,scrollHideDelay:a,scrollArea:s,viewport:c,onViewportChange:u,content:f,onContentChange:h,scrollbarX:m,onScrollbarXChange:p,scrollbarXEnabled:C,onScrollbarXEnabledChange:N,scrollbarY:A,onScrollbarYChange:v,scrollbarYEnabled:E,onScrollbarYEnabledChange:D,onCornerWidthChange:x,onCornerHeightChange:S},w.createElement(ZF.div,ct({dir:P},o,{ref:T,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":k+"px",...e.style}})))}),agt="ScrollAreaViewport",ogt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,...i}=e,a=qf(agt,n),o=w.useRef(null),s=Lx(t,o,a.onViewportChange);return w.createElement(w.Fragment,null,w.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),w.createElement(ZF.div,ct({"data-radix-scroll-area-viewport":""},i,{ref:s,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style}}),w.createElement("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"}},r)))}),bg="ScrollAreaScrollbar",sgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=qf(bg,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation==="horizontal";return w.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type==="hover"?w.createElement(lgt,ct({},r,{ref:t,forceMount:n})):i.type==="scroll"?w.createElement(cgt,ct({},r,{ref:t,forceMount:n})):i.type==="auto"?w.createElement($Pe,ct({},r,{ref:t,forceMount:n})):i.type==="always"?w.createElement(zte,ct({},r,{ref:t})):null}),lgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=qf(bg,e.__scopeScrollArea),[a,o]=w.useState(!1);return w.useEffect(()=>{const s=i.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),o(!0)},u=()=>{l=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[i.scrollArea,i.scrollHideDelay]),w.createElement(JF,{present:n||a},w.createElement($Pe,ct({"data-state":a?"visible":"hidden"},r,{ref:t})))}),cgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=qf(bg,e.__scopeScrollArea),a=e.orientation==="horizontal",o=s3(()=>l("SCROLL_END"),100),[s,l]=ngt("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return w.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,i.scrollHideDelay,l]),w.useEffect(()=>{const c=i.viewport,u=a?"scrollLeft":"scrollTop";if(c){let f=c[u];const h=()=>{const m=c[u];f!==m&&(l("SCROLL"),o()),f=m};return c.addEventListener("scroll",h),()=>c.removeEventListener("scroll",h)}},[i.viewport,a,l,o]),w.createElement(JF,{present:n||s!=="hidden"},w.createElement(zte,ct({"data-state":s==="hidden"?"hidden":"visible"},r,{ref:t,onPointerEnter:Lb(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:Lb(e.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),$Pe=w.forwardRef((e,t)=>{const n=qf(bg,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=w.useState(!1),s=e.orientation==="horizontal",l=s3(()=>{if(n.viewport){const c=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?c:u)}},10);return Vk(n.viewport,l),Vk(n.content,l),w.createElement(JF,{present:r||a},w.createElement(zte,ct({"data-state":a?"visible":"hidden"},i,{ref:t})))}),zte=w.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,i=qf(bg,e.__scopeScrollArea),a=w.useRef(null),o=w.useRef(0),[s,l]=w.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=HPe(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:h=>a.current=h,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:h=>o.current=h};function f(h,m){return ggt(h,o.current,s,m)}return n==="horizontal"?w.createElement(ugt,ct({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollLeft,m=mme(h,s,i.dir);a.current.style.transform=`translate3d(${m}px, 0, 0)`}},onWheelScroll:h=>{i.viewport&&(i.viewport.scrollLeft=h)},onDragScroll:h=>{i.viewport&&(i.viewport.scrollLeft=f(h,i.dir))}})):n==="vertical"?w.createElement(dgt,ct({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollTop,m=mme(h,s);a.current.style.transform=`translate3d(0, ${m}px, 0)`}},onWheelScroll:h=>{i.viewport&&(i.viewport.scrollTop=h)},onDragScroll:h=>{i.viewport&&(i.viewport.scrollTop=f(h))}})):null}),ugt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=qf(bg,e.__scopeScrollArea),[o,s]=w.useState(),l=w.useRef(null),c=Lx(t,l,a.onScrollbarXChange);return w.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),w.createElement(UPe,ct({"data-orientation":"horizontal"},i,{ref:c,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":o3(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(a.viewport){const h=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(h),QPe(h,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:wP(o.paddingLeft),paddingEnd:wP(o.paddingRight)}})}}))}),dgt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=qf(bg,e.__scopeScrollArea),[o,s]=w.useState(),l=w.useRef(null),c=Lx(t,l,a.onScrollbarYChange);return w.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),w.createElement(UPe,ct({"data-orientation":"vertical"},i,{ref:c,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":o3(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(a.viewport){const h=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(h),QPe(h,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:wP(o.paddingTop),paddingEnd:wP(o.paddingBottom)}})}}))}),[fgt,LPe]=RPe(bg),UPe=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:f,...h}=e,m=qf(bg,n),[p,A]=w.useState(null),v=Lx(t,T=>A(T)),y=w.useRef(null),x=w.useRef(""),k=m.viewport,S=r.content-r.viewport,C=hb(u),N=hb(l),E=s3(f,10);function D(T){if(y.current){const P=T.clientX-y.current.left,O=T.clientY-y.current.top;c({x:P,y:O})}}return w.useEffect(()=>{const T=P=>{const O=P.target;p?.contains(O)&&C(P,S)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[k,p,S,C]),w.useEffect(N,[r,N]),Vk(p,E),Vk(m.content,E),w.createElement(fgt,{scope:n,scrollbar:p,hasThumb:i,onThumbChange:hb(a),onThumbPointerUp:hb(o),onThumbPositionChange:N,onThumbPointerDown:hb(s)},w.createElement(ZF.div,ct({},h,{ref:v,style:{position:"absolute",...h.style},onPointerDown:Lb(e.onPointerDown,T=>{T.button===0&&(T.target.setPointerCapture(T.pointerId),y.current=p.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",D(T))}),onPointerMove:Lb(e.onPointerMove,D),onPointerUp:Lb(e.onPointerUp,T=>{const P=T.target;P.hasPointerCapture(T.pointerId)&&P.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=x.current,y.current=null})})))}),DY="ScrollAreaThumb",hgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=LPe(DY,e.__scopeScrollArea);return w.createElement(JF,{present:n||i.hasThumb},w.createElement(mgt,ct({ref:t},r)))}),mgt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,a=qf(DY,n),o=LPe(DY,n),{onThumbPositionChange:s}=o,l=Lx(t,f=>o.onThumbChange(f)),c=w.useRef(),u=s3(()=>{c.current&&(c.current(),c.current=void 0)},100);return w.useEffect(()=>{const f=a.viewport;if(f){const h=()=>{if(u(),!c.current){const m=vgt(f,s);c.current=m,s()}};return s(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,u,s]),w.createElement(ZF.div,ct({"data-state":o.hasThumb?"visible":"hidden"},i,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Lb(e.onPointerDownCapture,f=>{const m=f.target.getBoundingClientRect(),p=f.clientX-m.left,A=f.clientY-m.top;o.onThumbPointerDown({x:p,y:A})}),onPointerUp:Lb(e.onPointerUp,o.onThumbPointerUp)}))}),zPe="ScrollAreaCorner",pgt=w.forwardRef((e,t)=>{const n=qf(zPe,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?w.createElement(Agt,ct({},e,{ref:t})):null}),Agt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=qf(zPe,n),[a,o]=w.useState(0),[s,l]=w.useState(0),c=!!(a&&s);return Vk(i.scrollbarX,()=>{var u;const f=((u=i.scrollbarX)===null||u===void 0?void 0:u.offsetHeight)||0;i.onCornerHeightChange(f),l(f)}),Vk(i.scrollbarY,()=>{var u;const f=((u=i.scrollbarY)===null||u===void 0?void 0:u.offsetWidth)||0;i.onCornerWidthChange(f),o(f)}),c?w.createElement(ZF.div,ct({},r,{ref:t,style:{width:a,height:s,position:"absolute",right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function wP(e){return e?parseInt(e,10):0}function HPe(e,t){const n=e/t;return isNaN(n)?0:n}function o3(e){const t=HPe(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ggt(e,t,n,r="ltr"){const i=o3(n),a=i/2,o=t||a,s=i-o,l=n.scrollbar.paddingStart+o,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,f=r==="ltr"?[0,u]:[u*-1,0];return VPe([l,c],f)(e)}function mme(e,t,n="ltr"){const r=o3(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,l=n==="ltr"?[0,o]:[o*-1,0],c=tgt(e,l);return VPe([0,o],[0,s])(c)}function VPe(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function QPe(e,t){return e>0&&e<t}const vgt=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){const a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function s3(e,t){const n=hb(e),r=w.useRef(0);return w.useEffect(()=>()=>window.clearTimeout(r.current),[]),w.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Vk(e,t){const n=hb(t);FY(()=>{let r=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return i.observe(e),()=>{window.cancelAnimationFrame(r),i.unobserve(e)}}},[e,n])}const ygt=igt,bgt=ogt,pme=sgt,Ame=hgt,xgt=pgt;var wgt=ln((e,{scrollbarSize:t,offsetScrollbars:n,scrollbarHovered:r,hidden:i})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:n?Ve(t):void 0,paddingBottom:n?Ve(t):void 0},scrollbar:{display:i?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${Ve(t)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.colors.gray[0],[`& .${$b("thumb")}`]:{backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.5):e.fn.rgba(e.black,.5)}},'&[data-orientation="vertical"]':{width:Ve(t)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:Ve(t)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:$b("thumb"),flex:1,backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.4):e.fn.rgba(e.black,.4),borderRadius:Ve(t),position:"relative",transition:"background-color 150ms ease",display:i?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:Ve(44),minHeight:Ve(44)}},corner:{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0],transition:"opacity 150ms ease",opacity:r?1:0,display:i?"none":void 0}})),kgt=Object.defineProperty,Sgt=Object.defineProperties,Cgt=Object.getOwnPropertyDescriptors,kP=Object.getOwnPropertySymbols,qPe=Object.prototype.hasOwnProperty,GPe=Object.prototype.propertyIsEnumerable,gme=(e,t,n)=>t in e?kgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TY=(e,t)=>{for(var n in t||(t={}))qPe.call(t,n)&&gme(e,n,t[n]);if(kP)for(var n of kP(t))GPe.call(t,n)&&gme(e,n,t[n]);return e},WPe=(e,t)=>Sgt(e,Cgt(t)),KPe=(e,t)=>{var n={};for(var r in e)qPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&kP)for(var r of kP(e))t.indexOf(r)<0&&GPe.call(e,r)&&(n[r]=e[r]);return n};const YPe={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},l3=w.forwardRef((e,t)=>{const n=Qt("ScrollArea",YPe,e),{children:r,className:i,classNames:a,styles:o,scrollbarSize:s,scrollHideDelay:l,type:c,dir:u,offsetScrollbars:f,viewportRef:h,onScrollPositionChange:m,unstyled:p,variant:A,viewportProps:v}=n,y=KPe(n,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[x,k]=w.useState(!1),S=Eu(),{classes:C,cx:N}=wgt({scrollbarSize:s,offsetScrollbars:f,scrollbarHovered:x,hidden:c==="never"},{name:"ScrollArea",classNames:a,styles:o,unstyled:p,variant:A});return L.createElement(ygt,{type:c==="never"?"always":c,scrollHideDelay:l,dir:u||S.dir,ref:t,asChild:!0},L.createElement(Fn,TY({className:N(C.root,i)},y),L.createElement(bgt,WPe(TY({},v),{className:C.viewport,ref:h,onScroll:typeof m=="function"?({currentTarget:E})=>m({x:E.scrollLeft,y:E.scrollTop}):void 0}),r),L.createElement(pme,{orientation:"horizontal",className:C.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},L.createElement(Ame,{className:C.thumb})),L.createElement(pme,{orientation:"vertical",className:C.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},L.createElement(Ame,{className:C.thumb})),L.createElement(xgt,{className:C.corner})))}),XPe=w.forwardRef((e,t)=>{const n=Qt("ScrollAreaAutosize",YPe,e),{children:r,classNames:i,styles:a,scrollbarSize:o,scrollHideDelay:s,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:h,unstyled:m,sx:p,variant:A,viewportProps:v}=n,y=KPe(n,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return L.createElement(Fn,WPe(TY({},y),{ref:t,sx:[{display:"flex"},...rje(p)]}),L.createElement(Fn,{sx:{display:"flex",flexDirection:"column",flex:1}},L.createElement(l3,{classNames:i,styles:a,scrollHideDelay:s,scrollbarSize:o,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:h,unstyled:m,variant:A,viewportProps:v},r)))});XPe.displayName="@mantine/core/ScrollAreaAutosize";l3.displayName="@mantine/core/ScrollArea";l3.Autosize=XPe;const _gt=l3;var Ngt=Object.defineProperty,Egt=Object.defineProperties,Fgt=Object.getOwnPropertyDescriptors,SP=Object.getOwnPropertySymbols,ZPe=Object.prototype.hasOwnProperty,JPe=Object.prototype.propertyIsEnumerable,vme=(e,t,n)=>t in e?Ngt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yme=(e,t)=>{for(var n in t||(t={}))ZPe.call(t,n)&&vme(e,n,t[n]);if(SP)for(var n of SP(t))JPe.call(t,n)&&vme(e,n,t[n]);return e},Dgt=(e,t)=>Egt(e,Fgt(t)),Tgt=(e,t)=>{var n={};for(var r in e)ZPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&SP)for(var r of SP(e))t.indexOf(r)<0&&JPe.call(e,r)&&(n[r]=e[r]);return n};const c3=w.forwardRef((e,t)=>{var n=e,{style:r}=n,i=Tgt(n,["style"]);return L.createElement(_gt,Dgt(yme({},i),{style:yme({width:"100%"},r),viewportProps:{tabIndex:-1},viewportRef:t}),i.children)});c3.displayName="@mantine/core/SelectScrollArea";var Ogt=ln(()=>({dropdown:{},itemsWrapper:{padding:Ve(4),display:"flex",width:"100%",boxSizing:"border-box"}})),Bgt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Z1=new WeakMap,e5=new WeakMap,t5={},_7=0,e4e=function(e){return e&&(e.host||e4e(e.parentNode))},Igt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=e4e(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},jgt=function(e,t,n,r){var i=Igt(t,Array.isArray(e)?e:[e]);t5[n]||(t5[n]=new WeakMap);var a=t5[n],o=[],s=new Set,l=new Set(i),c=function(f){!f||s.has(f)||(s.add(f),c(f.parentNode))};i.forEach(c);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(s.has(h))u(h);else try{var m=h.getAttribute(r),p=m!==null&&m!=="false",A=(Z1.get(h)||0)+1,v=(a.get(h)||0)+1;Z1.set(h,A),a.set(h,v),o.push(h),A===1&&p&&e5.set(h,!0),v===1&&h.setAttribute(n,"true"),p||h.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return u(t),s.clear(),_7++,function(){o.forEach(function(f){var h=Z1.get(f)-1,m=a.get(f)-1;Z1.set(f,h),a.set(f,m),h||(e5.has(f)||f.removeAttribute(r),e5.delete(f)),m||f.removeAttribute(n)}),_7--,_7||(Z1=new WeakMap,Z1=new WeakMap,e5=new WeakMap,t5={})}},u3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=Bgt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),jgt(r,i,n,"aria-hidden")):function(){return null}};const Pgt=["top","right","bottom","left"],Qh=Math.min,oc=Math.max,CP=Math.round,n5=Math.floor,gp=e=>({x:e,y:e}),Mgt={left:"right",right:"left",bottom:"top",top:"bottom"},Rgt={start:"end",end:"start"};function OY(e,t,n){return oc(e,Qh(t,n))}function _p(e,t){return typeof e=="function"?e(t):e}function qh(e){return e.split("-")[0]}function nC(e){return e.split("-")[1]}function Hte(e){return e==="x"?"y":"x"}function Vte(e){return e==="y"?"height":"width"}const $gt=new Set(["top","bottom"]);function Bh(e){return $gt.has(qh(e))?"y":"x"}function Qte(e){return Hte(Bh(e))}function Lgt(e,t,n){n===void 0&&(n=!1);const r=nC(e),i=Qte(e),a=Vte(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=_P(o)),[o,_P(o)]}function Ugt(e){const t=_P(e);return[BY(e),t,BY(t)]}function BY(e){return e.replace(/start|end/g,t=>Rgt[t])}const bme=["left","right"],xme=["right","left"],zgt=["top","bottom"],Hgt=["bottom","top"];function Vgt(e,t,n){switch(e){case"top":case"bottom":return n?t?xme:bme:t?bme:xme;case"left":case"right":return t?zgt:Hgt;default:return[]}}function Qgt(e,t,n,r){const i=nC(e);let a=Vgt(qh(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(BY)))),a}function _P(e){return e.replace(/left|right|bottom|top/g,t=>Mgt[t])}function qgt(e){return{top:0,right:0,bottom:0,left:0,...e}}function qte(e){return typeof e!="number"?qgt(e):{top:e,right:e,bottom:e,left:e}}function Qk(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function wme(e,t,n){let{reference:r,floating:i}=e;const a=Bh(t),o=Qte(t),s=Vte(o),l=qh(t),c=a==="y",u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let m;switch(l){case"top":m={x:u,y:r.y-i.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-i.width,y:f};break;default:m={x:r.x,y:r.y}}switch(nC(t)){case"start":m[o]-=h*(n&&c?-1:1);break;case"end":m[o]+=h*(n&&c?-1:1);break}return m}const Ggt=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=wme(c,r,l),h=r,m={},p=0;for(let A=0;A<s.length;A++){const{name:v,fn:y}=s[A],{x,y:k,data:S,reset:C}=await y({x:u,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:m,rects:c,platform:o,elements:{reference:e,floating:t}});u=x??u,f=k??f,m={...m,[v]:{...m[v],...S}},C&&p<=50&&(p++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:u,y:f}=wme(c,h,l)),A=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:m}};async function oE(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=_p(t,e),p=qte(m),v=s[h?f==="floating"?"reference":"floating":f],y=Qk(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(v)))==null||n?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),x=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),S=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},C=Qk(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:k,strategy:l}):x);return{top:(y.top-C.top+p.top)/S.y,bottom:(C.bottom-y.bottom+p.bottom)/S.y,left:(y.left-C.left+p.left)/S.x,right:(C.right-y.right+p.right)/S.x}}const Wgt=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=_p(e,t)||{};if(c==null)return{};const f=qte(u),h={x:n,y:r},m=Qte(i),p=Vte(m),A=await o.getDimensions(c),v=m==="y",y=v?"top":"left",x=v?"bottom":"right",k=v?"clientHeight":"clientWidth",S=a.reference[p]+a.reference[m]-h[m]-a.floating[p],C=h[m]-a.reference[m],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let E=N?N[k]:0;(!E||!await(o.isElement==null?void 0:o.isElement(N)))&&(E=s.floating[k]||a.floating[p]);const D=S/2-C/2,T=E/2-A[p]/2-1,P=Qh(f[y],T),O=Qh(f[x],T),B=P,M=E-A[p]-O,$=E/2-A[p]/2+D,U=OY(B,$,M),j=!l.arrow&&nC(i)!=null&&$!==U&&a.reference[p]/2-($<B?P:O)-A[p]/2<0,V=j?$<B?$-B:$-M:0;return{[m]:h[m]+V,data:{[m]:U,centerOffset:$-U-V,...j&&{alignmentOffset:V}},reset:j}}}),Kgt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:A=!0,...v}=_p(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const y=qh(i),x=Bh(s),k=qh(s)===s,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(k||!A?[_P(s)]:Ugt(s)),N=p!=="none";!h&&N&&C.push(...Qgt(s,A,p,S));const E=[s,...C],D=await oE(t,v),T=[];let P=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&T.push(D[y]),f){const $=Lgt(i,o,S);T.push(D[$[0]],D[$[1]])}if(P=[...P,{placement:i,overflows:T}],!T.every($=>$<=0)){var O,B;const $=(((O=a.flip)==null?void 0:O.index)||0)+1,U=E[$];if(U&&(!(f==="alignment"?x!==Bh(U):!1)||P.every(Q=>Bh(Q.placement)===x?Q.overflows[0]>0:!0)))return{data:{index:$,overflows:P},reset:{placement:U}};let j=(B=P.filter(V=>V.overflows[0]<=0).sort((V,Q)=>V.overflows[1]-Q.overflows[1])[0])==null?void 0:B.placement;if(!j)switch(m){case"bestFit":{var M;const V=(M=P.filter(Q=>{if(N){const X=Bh(Q.placement);return X===x||X==="y"}return!0}).map(Q=>[Q.placement,Q.overflows.filter(X=>X>0).reduce((X,Z)=>X+Z,0)]).sort((Q,X)=>Q[1]-X[1])[0])==null?void 0:M[0];V&&(j=V);break}case"initialPlacement":j=s;break}if(i!==j)return{reset:{placement:j}}}return{}}}};function kme(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sme(e){return Pgt.some(t=>e[t]>=0)}const Ygt=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=_p(e,t);switch(r){case"referenceHidden":{const a=await oE(t,{...i,elementContext:"reference"}),o=kme(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Sme(o)}}}case"escaped":{const a=await oE(t,{...i,altBoundary:!0}),o=kme(a,n.floating);return{data:{escapedOffsets:o,escaped:Sme(o)}}}default:return{}}}}};function t4e(e){const t=Qh(...e.map(a=>a.left)),n=Qh(...e.map(a=>a.top)),r=oc(...e.map(a=>a.right)),i=oc(...e.map(a=>a.bottom));return{x:t,y:n,width:r-t,height:i-n}}function Xgt(e){const t=e.slice().sort((i,a)=>i.y-a.y),n=[];let r=null;for(let i=0;i<t.length;i++){const a=t[i];!r||a.y-r.y>r.height/2?n.push([a]):n[n.length-1].push(a),r=a}return n.map(i=>Qk(t4e(i)))}const Zgt=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:i,platform:a,strategy:o}=t,{padding:s=2,x:l,y:c}=_p(e,t),u=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(r.reference))||[]),f=Xgt(u),h=Qk(t4e(u)),m=qte(s);function p(){if(f.length===2&&f[0].left>f[1].right&&l!=null&&c!=null)return f.find(v=>l>v.left-m.left&&l<v.right+m.right&&c>v.top-m.top&&c<v.bottom+m.bottom)||h;if(f.length>=2){if(Bh(n)==="y"){const P=f[0],O=f[f.length-1],B=qh(n)==="top",M=P.top,$=O.bottom,U=B?P.left:O.left,j=B?P.right:O.right,V=j-U,Q=$-M;return{top:M,bottom:$,left:U,right:j,width:V,height:Q,x:U,y:M}}const v=qh(n)==="left",y=oc(...f.map(P=>P.right)),x=Qh(...f.map(P=>P.left)),k=f.filter(P=>v?P.left===x:P.right===y),S=k[0].top,C=k[k.length-1].bottom,N=x,E=y,D=E-N,T=C-S;return{top:S,bottom:C,left:N,right:E,width:D,height:T,x:N,y:S}}return h}const A=await a.getElementRects({reference:{getBoundingClientRect:p},floating:r.floating,strategy:o});return i.reference.x!==A.reference.x||i.reference.y!==A.reference.y||i.reference.width!==A.reference.width||i.reference.height!==A.reference.height?{reset:{rects:A}}:{}}}},n4e=new Set(["left","top"]);async function Jgt(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=qh(n),s=nC(n),l=Bh(n)==="y",c=n4e.has(o)?-1:1,u=a&&l?-1:1,f=_p(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof p=="number"&&(m=s==="end"?p*-1:p),l?{x:m*u,y:h*c}:{x:h*c,y:m*u}}const evt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await Jgt(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},tvt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:v=>{let{x:y,y:x}=v;return{x:y,y:x}}},...l}=_p(e,t),c={x:n,y:r},u=await oE(t,l),f=Bh(qh(i)),h=Hte(f);let m=c[h],p=c[f];if(a){const v=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=m+u[v],k=m-u[y];m=OY(x,m,k)}if(o){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",x=p+u[v],k=p-u[y];p=OY(x,p,k)}const A=s.fn({...t,[h]:m,[f]:p});return{...A,data:{x:A.x-n,y:A.y-r,enabled:{[h]:a,[f]:o}}}}}},nvt=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=_p(e,t),u={x:n,y:r},f=Bh(i),h=Hte(f);let m=u[h],p=u[f];const A=_p(s,t),v=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(l){const k=h==="y"?"height":"width",S=a.reference[h]-a.floating[k]+v.mainAxis,C=a.reference[h]+a.reference[k]-v.mainAxis;m<S?m=S:m>C&&(m=C)}if(c){var y,x;const k=h==="y"?"width":"height",S=n4e.has(qh(i)),C=a.reference[f]-a.floating[k]+(S&&((y=o.offset)==null?void 0:y[f])||0)+(S?0:v.crossAxis),N=a.reference[f]+a.reference[k]+(S?0:((x=o.offset)==null?void 0:x[f])||0)-(S?v.crossAxis:0);p<C?p=C:p>N&&(p=N)}return{[h]:m,[f]:p}}}},rvt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:o,elements:s}=t,{apply:l=()=>{},...c}=_p(e,t),u=await oE(t,c),f=qh(i),h=nC(i),m=Bh(i)==="y",{width:p,height:A}=a.floating;let v,y;f==="top"||f==="bottom"?(v=f,y=h===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(y=f,v=h==="end"?"top":"bottom");const x=A-u.top-u.bottom,k=p-u.left-u.right,S=Qh(A-u[v],x),C=Qh(p-u[y],k),N=!t.middlewareData.shift;let E=S,D=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=k),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=x),N&&!h){const P=oc(u.left,0),O=oc(u.right,0),B=oc(u.top,0),M=oc(u.bottom,0);m?D=p-2*(P!==0||O!==0?P+O:oc(u.left,u.right)):E=A-2*(B!==0||M!==0?B+M:oc(u.top,u.bottom))}await l({...t,availableWidth:D,availableHeight:E});const T=await o.getDimensions(s.floating);return p!==T.width||A!==T.height?{reset:{rects:!0}}:{}}}};function d3(){return typeof window<"u"}function rC(e){return r4e(e)?(e.nodeName||"").toLowerCase():"#document"}function xd(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Up(e){var t;return(t=(r4e(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r4e(e){return d3()?e instanceof Node||e instanceof xd(e).Node:!1}function Gh(e){return d3()?e instanceof Element||e instanceof xd(e).Element:!1}function Np(e){return d3()?e instanceof HTMLElement||e instanceof xd(e).HTMLElement:!1}function Cme(e){return!d3()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xd(e).ShadowRoot}const ivt=new Set(["inline","contents"]);function eD(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Wh(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ivt.has(i)}const avt=new Set(["table","td","th"]);function ovt(e){return avt.has(rC(e))}const svt=[":popover-open",":modal"];function f3(e){return svt.some(t=>{try{return e.matches(t)}catch{return!1}})}const lvt=["transform","translate","scale","rotate","perspective"],cvt=["transform","translate","scale","rotate","perspective","filter"],uvt=["paint","layout","strict","content"];function Gte(e){const t=Wte(),n=Gh(e)?Wh(e):e;return lvt.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||cvt.some(r=>(n.willChange||"").includes(r))||uvt.some(r=>(n.contain||"").includes(r))}function dvt(e){let t=Ay(e);for(;Np(t)&&!qk(t);){if(Gte(t))return t;if(f3(t))return null;t=Ay(t)}return null}function Wte(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const fvt=new Set(["html","body","#document"]);function qk(e){return fvt.has(rC(e))}function Wh(e){return xd(e).getComputedStyle(e)}function h3(e){return Gh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ay(e){if(rC(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cme(e)&&e.host||Up(e);return Cme(t)?t.host:t}function i4e(e){const t=Ay(e);return qk(t)?e.ownerDocument?e.ownerDocument.body:e.body:Np(t)&&eD(t)?t:i4e(t)}function tg(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=i4e(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=xd(i);if(a){const s=IY(o);return t.concat(o,o.visualViewport||[],eD(i)?i:[],s&&n?tg(s):[])}return t.concat(i,tg(i,[],n))}function IY(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function a4e(e){const t=Wh(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Np(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=CP(n)!==a||CP(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Kte(e){return Gh(e)?e:e.contextElement}function pk(e){const t=Kte(e);if(!Np(t))return gp(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=a4e(t);let o=(a?CP(n.width):n.width)/r,s=(a?CP(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const hvt=gp(0);function o4e(e){const t=xd(e);return!Wte()||!t.visualViewport?hvt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mvt(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==xd(e)?!1:t}function ax(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Kte(e);let o=gp(1);t&&(r?Gh(r)&&(o=pk(r)):o=pk(e));const s=mvt(a,n,r)?o4e(a):gp(0);let l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,u=i.width/o.x,f=i.height/o.y;if(a){const h=xd(a),m=r&&Gh(r)?xd(r):r;let p=h,A=IY(p);for(;A&&r&&m!==p;){const v=pk(A),y=A.getBoundingClientRect(),x=Wh(A),k=y.left+(A.clientLeft+parseFloat(x.paddingLeft))*v.x,S=y.top+(A.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,f*=v.y,l+=k,c+=S,p=xd(A),A=IY(p)}}return Qk({width:u,height:f,x:l,y:c})}function m3(e,t){const n=h3(e).scrollLeft;return t?t.left+n:ax(Up(e)).left+n}function s4e(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-m3(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function pvt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=Up(r),s=t?f3(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=gp(1);const u=gp(0),f=Np(r);if((f||!f&&!a)&&((rC(r)!=="body"||eD(o))&&(l=h3(r)),Np(r))){const m=ax(r);c=pk(r),u.x=m.x+r.clientLeft,u.y=m.y+r.clientTop}const h=o&&!f&&!a?s4e(o,l):gp(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function Avt(e){return Array.from(e.getClientRects())}function gvt(e){const t=Up(e),n=h3(e),r=e.ownerDocument.body,i=oc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=oc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+m3(e);const s=-n.scrollTop;return Wh(r).direction==="rtl"&&(o+=oc(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}const _me=25;function vvt(e,t){const n=xd(e),r=Up(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const u=Wte();(!u||u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}const c=m3(r);if(c<=0){const u=r.ownerDocument,f=u.body,h=getComputedStyle(f),m=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(r.clientWidth-f.clientWidth-m);p<=_me&&(a-=p)}else c<=_me&&(a+=c);return{width:a,height:o,x:s,y:l}}const yvt=new Set(["absolute","fixed"]);function bvt(e,t){const n=ax(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Np(e)?pk(e):gp(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,l=i*a.x,c=r*a.y;return{width:o,height:s,x:l,y:c}}function Nme(e,t,n){let r;if(t==="viewport")r=vvt(e,n);else if(t==="document")r=gvt(Up(e));else if(Gh(t))r=bvt(t,n);else{const i=o4e(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Qk(r)}function l4e(e,t){const n=Ay(e);return n===t||!Gh(n)||qk(n)?!1:Wh(n).position==="fixed"||l4e(n,t)}function xvt(e,t){const n=t.get(e);if(n)return n;let r=tg(e,[],!1).filter(s=>Gh(s)&&rC(s)!=="body"),i=null;const a=Wh(e).position==="fixed";let o=a?Ay(e):e;for(;Gh(o)&&!qk(o);){const s=Wh(o),l=Gte(o);!l&&s.position==="fixed"&&(i=null),(a?!l&&!i:!l&&s.position==="static"&&!!i&&yvt.has(i.position)||eD(o)&&!l&&l4e(e,o))?r=r.filter(u=>u!==o):i=s,o=Ay(o)}return t.set(e,r),r}function wvt(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?f3(t)?[]:xvt(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((c,u)=>{const f=Nme(t,u,i);return c.top=oc(f.top,c.top),c.right=Qh(f.right,c.right),c.bottom=Qh(f.bottom,c.bottom),c.left=oc(f.left,c.left),c},Nme(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function kvt(e){const{width:t,height:n}=a4e(e);return{width:t,height:n}}function Svt(e,t,n){const r=Np(t),i=Up(t),a=n==="fixed",o=ax(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=gp(0);function c(){l.x=m3(i)}if(r||!r&&!a)if((rC(t)!=="body"||eD(i))&&(s=h3(t)),r){const m=ax(t,!0,a,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&c();a&&!r&&i&&c();const u=i&&!r&&!a?s4e(i,s):gp(0),f=o.left+s.scrollLeft-l.x-u.x,h=o.top+s.scrollTop-l.y-u.y;return{x:f,y:h,width:o.width,height:o.height}}function N7(e){return Wh(e).position==="static"}function Eme(e,t){if(!Np(e)||Wh(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Up(e)===n&&(n=n.ownerDocument.body),n}function c4e(e,t){const n=xd(e);if(f3(e))return n;if(!Np(e)){let i=Ay(e);for(;i&&!qk(i);){if(Gh(i)&&!N7(i))return i;i=Ay(i)}return n}let r=Eme(e,t);for(;r&&ovt(r)&&N7(r);)r=Eme(r,t);return r&&qk(r)&&N7(r)&&!Gte(r)?n:r||dvt(e)||n}const Cvt=async function(e){const t=this.getOffsetParent||c4e,n=this.getDimensions,r=await n(e.floating);return{reference:Svt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _vt(e){return Wh(e).direction==="rtl"}const Nvt={convertOffsetParentRelativeRectToViewportRelativeRect:pvt,getDocumentElement:Up,getClippingRect:wvt,getOffsetParent:c4e,getElementRects:Cvt,getClientRects:Avt,getDimensions:kvt,getScale:pk,isElement:Gh,isRTL:_vt};function u4e(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Evt(e,t){let n=null,r;const i=Up(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const c=e.getBoundingClientRect(),{left:u,top:f,width:h,height:m}=c;if(s||t(),!h||!m)return;const p=n5(f),A=n5(i.clientWidth-(u+h)),v=n5(i.clientHeight-(f+m)),y=n5(u),k={rootMargin:-p+"px "+-A+"px "+-v+"px "+-y+"px",threshold:oc(0,Qh(1,l))||1};let S=!0;function C(N){const E=N[0].intersectionRatio;if(E!==l){if(!S)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!u4e(c,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,k)}n.observe(e)}return o(!0),a}function d4e(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Kte(e),u=i||a?[...c?tg(c):[],...tg(t)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const f=c&&s?Evt(c,n):null;let h=-1,m=null;o&&(m=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var k;(k=m)==null||k.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let p,A=l?ax(e):null;l&&v();function v(){const y=ax(e);A&&!u4e(A,y)&&n(),A=y,p=requestAnimationFrame(v)}return n(),()=>{var y;u.forEach(x=>{i&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),f?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const Yte=evt,p3=tvt,Xte=Kgt,f4e=rvt,Fvt=Ygt,NP=Wgt,h4e=Zgt,m4e=nvt,p4e=(e,t,n)=>{const r=new Map,i={platform:Nvt,...n},a={...i.platform,_c:r};return Ggt(e,t,{...i,platform:a})},A4e=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?NP({element:t.current,padding:n}).fn(i):{}:t?NP({element:t,padding:n}).fn(i):{}}}};var qI=typeof document<"u"?w.useLayoutEffect:w.useEffect;function EP(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!EP(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!EP(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Fme(e){const t=w.useRef(e);return qI(()=>{t.current=e}),t}function Dvt(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,whileElementsMounted:a,open:o}=e,[s,l]=w.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[c,u]=w.useState(r);EP(c,r)||u(r);const f=w.useRef(null),h=w.useRef(null),m=w.useRef(s),p=Fme(a),A=Fme(i),[v,y]=w.useState(null),[x,k]=w.useState(null),S=w.useCallback(P=>{f.current!==P&&(f.current=P,y(P))},[]),C=w.useCallback(P=>{h.current!==P&&(h.current=P,k(P))},[]),N=w.useCallback(()=>{if(!f.current||!h.current)return;const P={placement:t,strategy:n,middleware:c};A.current&&(P.platform=A.current),p4e(f.current,h.current,P).then(O=>{const B={...O,isPositioned:!0};E.current&&!EP(m.current,B)&&(m.current=B,Vf.flushSync(()=>{l(B)}))})},[c,t,n,A]);qI(()=>{o===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,l(P=>({...P,isPositioned:!1})))},[o]);const E=w.useRef(!1);qI(()=>(E.current=!0,()=>{E.current=!1}),[]),qI(()=>{if(v&&x){if(p.current)return p.current(v,x,N);N()}},[v,x,N,p]);const D=w.useMemo(()=>({reference:f,floating:h,setReference:S,setFloating:C}),[S,C]),T=w.useMemo(()=>({reference:v,floating:x}),[v,x]);return w.useMemo(()=>({...s,update:N,refs:D,elements:T,reference:S,floating:C}),[s,N,D,T,S,C])}var Gk=typeof document<"u"?w.useLayoutEffect:w.useEffect;let E7=!1,Tvt=0;const Dme=()=>"floating-ui-"+Tvt++;function Ovt(){const[e,t]=w.useState(()=>E7?Dme():void 0);return Gk(()=>{e==null&&t(Dme())},[]),w.useEffect(()=>{E7||(E7=!0)},[]),e}const Bvt=rx.useId,Tme=Bvt||Ovt;function Ivt(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(r=>r!==n))}}}const jvt=w.createContext(null),Pvt=w.createContext(null),g4e=()=>{var e;return((e=w.useContext(jvt))==null?void 0:e.id)||null},Zte=()=>w.useContext(Pvt);function qv(e){return e?.ownerDocument||document}function Mvt(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function Rvt(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Jte(e){return qv(e).defaultView||window}function lp(e){return e?e instanceof Jte(e).Element:!1}function v4e(e){return e?e instanceof Jte(e).HTMLElement:!1}function $vt(e){if(typeof ShadowRoot>"u")return!1;const t=Jte(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Lvt(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(Mvt())||t.test(Rvt()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Uvt(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function y4e(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Ome(e){const t=w.useRef(e);return Gk(()=>{t.current=e}),t}const Bme="data-floating-ui-safe-polygon";function GI(e,t,n){return n&&!y4e(n)?0:typeof e=="number"?e:e?.[t]}const zvt=function(e,t){let{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:a=!1,restMs:o=0,move:s=!0}=t===void 0?{}:t;const{open:l,onOpenChange:c,dataRef:u,events:f,elements:{domReference:h,floating:m},refs:p}=e,A=Zte(),v=g4e(),y=Ome(i),x=Ome(r),k=w.useRef(),S=w.useRef(),C=w.useRef(),N=w.useRef(),E=w.useRef(!0),D=w.useRef(!1),T=w.useRef(()=>{}),P=w.useCallback(()=>{var $;const U=($=u.current.openEvent)==null?void 0:$.type;return U?.includes("mouse")&&U!=="mousedown"},[u]);w.useEffect(()=>{if(!n)return;function $(){clearTimeout(S.current),clearTimeout(N.current),E.current=!0}return f.on("dismiss",$),()=>{f.off("dismiss",$)}},[n,f]),w.useEffect(()=>{if(!n||!y.current||!l)return;function $(){P()&&c(!1)}const U=qv(m).documentElement;return U.addEventListener("mouseleave",$),()=>{U.removeEventListener("mouseleave",$)}},[m,l,c,n,y,u,P]);const O=w.useCallback(function($){$===void 0&&($=!0);const U=GI(x.current,"close",k.current);U&&!C.current?(clearTimeout(S.current),S.current=setTimeout(()=>c(!1),U)):$&&(clearTimeout(S.current),c(!1))},[x,c]),B=w.useCallback(()=>{T.current(),C.current=void 0},[]),M=w.useCallback(()=>{if(D.current){const $=qv(p.floating.current).body;$.style.pointerEvents="",$.removeAttribute(Bme),D.current=!1}},[p]);return w.useEffect(()=>{if(!n)return;function $(){return u.current.openEvent?["click","mousedown"].includes(u.current.openEvent.type):!1}function U(Q){if(clearTimeout(S.current),E.current=!1,a&&!y4e(k.current)||o>0&&GI(x.current,"open")===0)return;u.current.openEvent=Q;const X=GI(x.current,"open",k.current);X?S.current=setTimeout(()=>{c(!0)},X):c(!0)}function j(Q){if($())return;T.current();const X=qv(m);if(clearTimeout(N.current),y.current){l||clearTimeout(S.current),C.current=y.current({...e,tree:A,x:Q.clientX,y:Q.clientY,onClose(){M(),B(),O()}});const Z=C.current;X.addEventListener("mousemove",Z),T.current=()=>{X.removeEventListener("mousemove",Z)};return}O()}function V(Q){$()||y.current==null||y.current({...e,tree:A,x:Q.clientX,y:Q.clientY,onClose(){M(),B(),O()}})(Q)}if(lp(h)){const Q=h;return l&&Q.addEventListener("mouseleave",V),m?.addEventListener("mouseleave",V),s&&Q.addEventListener("mousemove",U,{once:!0}),Q.addEventListener("mouseenter",U),Q.addEventListener("mouseleave",j),()=>{l&&Q.removeEventListener("mouseleave",V),m?.removeEventListener("mouseleave",V),s&&Q.removeEventListener("mousemove",U),Q.removeEventListener("mouseenter",U),Q.removeEventListener("mouseleave",j)}}},[h,m,n,e,a,o,s,O,B,M,c,l,A,x,y,u]),Gk(()=>{var $;if(n&&l&&($=y.current)!=null&&$.__options.blockPointerEvents&&P()){const V=qv(m).body;if(V.setAttribute(Bme,""),V.style.pointerEvents="none",D.current=!0,lp(h)&&m){var U,j;const Q=h,X=A==null||(U=A.nodesRef.current.find(Z=>Z.id===v))==null||(j=U.context)==null?void 0:j.elements.floating;return X&&(X.style.pointerEvents=""),Q.style.pointerEvents="auto",m.style.pointerEvents="auto",()=>{Q.style.pointerEvents="",m.style.pointerEvents=""}}}},[n,l,v,m,h,A,y,u,P]),Gk(()=>{l||(k.current=void 0,B(),M())},[l,B,M]),w.useEffect(()=>()=>{B(),clearTimeout(S.current),clearTimeout(N.current),M()},[n,B,M]),w.useMemo(()=>{if(!n)return{};function $(U){k.current=U.pointerType}return{reference:{onPointerDown:$,onPointerEnter:$,onMouseMove(){l||o===0||(clearTimeout(N.current),N.current=setTimeout(()=>{E.current||c(!0)},o))}},floating:{onMouseEnter(){clearTimeout(S.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),O(!1)}}}},[f,n,o,l,c,O])},b4e=w.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),x4e=()=>w.useContext(b4e),Hvt=e=>{let{children:t,delay:n,timeoutMs:r=0}=e;const[i,a]=w.useReducer((l,c)=>({...l,...c}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),o=w.useRef(null),s=w.useCallback(l=>{a({currentId:l})},[]);return Gk(()=>{i.currentId?o.current===null?o.current=i.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),o.current=null)},[i.currentId]),w.createElement(b4e.Provider,{value:w.useMemo(()=>({...i,setState:a,setCurrentId:s}),[i,a,s])},t)},Vvt=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:i}=t;const{currentId:a,setCurrentId:o,initialDelay:s,setState:l,timeoutMs:c}=x4e();w.useEffect(()=>{a&&(l({delay:{open:1,close:GI(s,"close")}}),a!==i&&r(!1))},[i,r,l,a,s]),w.useEffect(()=>{function u(){r(!1),l({delay:s,currentId:null})}if(!n&&a===i)if(c){const f=window.setTimeout(u,c);return()=>{clearTimeout(f)}}else u()},[n,l,a,i,r,s,c]),w.useEffect(()=>{n&&o(i)},[n,o,i])};function Qvt(e){let t=e.activeElement;for(;((n=t)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}function Ime(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$vt(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function F7(e,t){let n=e.filter(i=>{var a;return i.parentId===t&&((a=i.context)==null?void 0:a.open)})||[],r=n;for(;r.length;)r=e.filter(i=>{var a;return(a=r)==null?void 0:a.some(o=>{var s;return i.parentId===o.id&&((s=i.context)==null?void 0:s.open)})})||[],n=n.concat(r);return n}function qvt(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Gvt=rx.useInsertionEffect,Wvt=Gvt||(e=>e());function w4e(e){const t=w.useRef(()=>{});return Wvt(()=>{t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function WI(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Kvt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Yvt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Xvt=function(e){var t,n;return e===void 0&&(e=!0),{escapeKeyBubbles:typeof e=="boolean"?e:(t=e.escapeKey)!=null?t:!0,outsidePressBubbles:typeof e=="boolean"?e:(n=e.outsidePress)!=null?n:!0}},Zvt=function(e,t){let{open:n,onOpenChange:r,events:i,nodeId:a,elements:{reference:o,domReference:s,floating:l},dataRef:c}=e,{enabled:u=!0,escapeKey:f=!0,outsidePress:h=!0,outsidePressEvent:m="pointerdown",referencePress:p=!1,referencePressEvent:A="pointerdown",ancestorScroll:v=!1,bubbles:y=!0}=t===void 0?{}:t;const x=Zte(),k=g4e()!=null,S=w4e(typeof h=="function"?h:()=>!1),C=typeof h=="function"?S:h,N=w.useRef(!1),{escapeKeyBubbles:E,outsidePressBubbles:D}=Xvt(y);return w.useEffect(()=>{if(!n||!u)return;c.current.__escapeKeyBubbles=E,c.current.__outsidePressBubbles=D;function T($){if($.key==="Escape"){const U=x?F7(x.nodesRef.current,a):[];if(U.length>0){let j=!0;if(U.forEach(V=>{var Q;if((Q=V.context)!=null&&Q.open&&!V.context.dataRef.current.__escapeKeyBubbles){j=!1;return}}),!j)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}}function P($){const U=N.current;if(N.current=!1,U||typeof C=="function"&&!C($))return;const j=qvt($);if(v4e(j)&&l){const X=l.ownerDocument.defaultView||window,Z=j.scrollWidth>j.clientWidth,le=j.scrollHeight>j.clientHeight;let H=le&&$.offsetX>j.clientWidth;if(le&&X.getComputedStyle(j).direction==="rtl"&&(H=$.offsetX<=j.offsetWidth-j.clientWidth),H||Z&&$.offsetY>j.clientHeight)return}const V=x&&F7(x.nodesRef.current,a).some(X=>{var Z;return WI($,(Z=X.context)==null?void 0:Z.elements.floating)});if(WI($,l)||WI($,s)||V)return;const Q=x?F7(x.nodesRef.current,a):[];if(Q.length>0){let X=!0;if(Q.forEach(Z=>{var le;if((le=Z.context)!=null&&le.open&&!Z.context.dataRef.current.__outsidePressBubbles){X=!1;return}}),!X)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:k?{preventScroll:!0}:Lvt($)||Uvt($)}}),r(!1)}function O(){r(!1)}const B=qv(l);f&&B.addEventListener("keydown",T),C&&B.addEventListener(m,P);let M=[];return v&&(lp(s)&&(M=tg(s)),lp(l)&&(M=M.concat(tg(l))),!lp(o)&&o&&o.contextElement&&(M=M.concat(tg(o.contextElement)))),M=M.filter($=>{var U;return $!==((U=B.defaultView)==null?void 0:U.visualViewport)}),M.forEach($=>{$.addEventListener("scroll",O,{passive:!0})}),()=>{f&&B.removeEventListener("keydown",T),C&&B.removeEventListener(m,P),M.forEach($=>{$.removeEventListener("scroll",O)})}},[c,l,s,o,f,C,m,i,x,a,n,r,v,u,E,D,k]),w.useEffect(()=>{N.current=!1},[C,m]),w.useMemo(()=>u?{reference:{[Kvt[A]]:()=>{p&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{[Yvt[m]]:()=>{N.current=!0}}}:{},[u,i,p,m,A,r])},Jvt=function(e,t){let{open:n,onOpenChange:r,dataRef:i,events:a,refs:o,elements:{floating:s,domReference:l}}=e,{enabled:c=!0,keyboardOnly:u=!0}=t===void 0?{}:t;const f=w.useRef(""),h=w.useRef(!1),m=w.useRef();return w.useEffect(()=>{if(!c)return;const A=qv(s).defaultView||window;function v(){!n&&v4e(l)&&l===Qvt(qv(l))&&(h.current=!0)}return A.addEventListener("blur",v),()=>{A.removeEventListener("blur",v)}},[s,l,n,c]),w.useEffect(()=>{if(!c)return;function p(A){(A.type==="referencePress"||A.type==="escapeKey")&&(h.current=!0)}return a.on("dismiss",p),()=>{a.off("dismiss",p)}},[a,c]),w.useEffect(()=>()=>{clearTimeout(m.current)},[]),w.useMemo(()=>c?{reference:{onPointerDown(p){let{pointerType:A}=p;f.current=A,h.current=!!(A&&u)},onMouseLeave(){h.current=!1},onFocus(p){var A;h.current||p.type==="focus"&&((A=i.current.openEvent)==null?void 0:A.type)==="mousedown"&&i.current.openEvent&&WI(i.current.openEvent,l)||(i.current.openEvent=p.nativeEvent,r(!0))},onBlur(p){h.current=!1;const A=p.relatedTarget,v=lp(A)&&A.hasAttribute("data-floating-ui-focus-guard")&&A.getAttribute("data-type")==="outside";m.current=setTimeout(()=>{Ime(o.floating.current,A)||Ime(l,A)||v||r(!1)})}}}:{},[c,u,l,o,i,r])},eyt=function(e,t){let{open:n}=e,{enabled:r=!0,role:i="dialog"}=t===void 0?{}:t;const a=Tme(),o=Tme();return w.useMemo(()=>{const s={id:a,role:i};return r?i==="tooltip"?{reference:{"aria-describedby":n?a:void 0},floating:s}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":i==="alertdialog"?"dialog":i,"aria-controls":n?a:void 0,...i==="listbox"&&{role:"combobox"},...i==="menu"&&{id:o}},floating:{...s,...i==="menu"&&{"aria-labelledby":o}}}:{}},[r,i,n,a,o])};function ene(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:r}=e,i=Dvt(e),a=Zte(),o=w.useRef(null),s=w.useRef({}),l=w.useState(()=>Ivt())[0],[c,u]=w.useState(null),f=w.useCallback(y=>{const x=lp(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;i.refs.setReference(x)},[i.refs]),h=w.useCallback(y=>{(lp(y)||y===null)&&(o.current=y,u(y)),(lp(i.refs.reference.current)||i.refs.reference.current===null||y!==null&&!lp(y))&&i.refs.setReference(y)},[i.refs]),m=w.useMemo(()=>({...i.refs,setReference:h,setPositionReference:f,domReference:o}),[i.refs,h,f]),p=w.useMemo(()=>({...i.elements,domReference:c}),[i.elements,c]),A=w4e(n),v=w.useMemo(()=>({...i,refs:m,elements:p,dataRef:s,nodeId:r,events:l,open:t,onOpenChange:A}),[i,r,l,t,A,m,p]);return Gk(()=>{const y=a?.nodesRef.current.find(x=>x.id===r);y&&(y.context=v)}),w.useMemo(()=>({...i,context:v,refs:m,reference:h,positionReference:f}),[i,m,v,h,f])}function D7(e,t,n){const r=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(i=>i?i[n]:null).concat(e).reduce((i,a)=>(a&&Object.entries(a).forEach(o=>{let[s,l]=o;if(s.indexOf("on")===0){if(r.has(s)||r.set(s,[]),typeof l=="function"){var c;(c=r.get(s))==null||c.push(l),i[s]=function(){for(var u,f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];(u=r.get(s))==null||u.forEach(p=>p(...h))}}}else i[s]=l}),i),{})}}const tyt=function(e){e===void 0&&(e=[]);const t=e,n=w.useCallback(a=>D7(a,e,"reference"),t),r=w.useCallback(a=>D7(a,e,"floating"),t),i=w.useCallback(a=>D7(a,e,"item"),e.map(a=>a?.item));return w.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])};function k4e({opened:e,floating:t,position:n,positionDependencies:r}){const[i,a]=w.useState(0);w.useEffect(()=>{if(t.refs.reference.current&&t.refs.floating.current)return d4e(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,i,n]),Pl(()=>{t.update()},r),Pl(()=>{a(o=>o+1)},[e])}function nyt(e,t){const n=[Yte(e.offset)];return e.middlewares.shift&&n.push(p3({limiter:m4e()})),e.middlewares.flip&&n.push(Xte()),e.middlewares.inline&&n.push(h4e()),n.push(A4e({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares.size||e.width==="target")&&n.push(f4e({apply({rects:r,availableWidth:i,availableHeight:a}){var o,s;const c=(s=(o=t().refs.floating.current)==null?void 0:o.style)!=null?s:{};e.middlewares.size&&Object.assign(c,{maxWidth:`${i}px`,maxHeight:`${a}px`}),e.width==="target"&&Object.assign(c,{width:`${r.reference.width}px`})}})),n}function ryt(e){const[t,n]=$c({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=()=>{var o;(o=e.onClose)==null||o.call(e),n(!1)},i=()=>{var o,s;t?((o=e.onClose)==null||o.call(e),n(!1)):((s=e.onOpen)==null||s.call(e),n(!0))},a=ene({placement:e.position,middleware:nyt(e,()=>a)});return k4e({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies,floating:a}),Pl(()=>{var o;(o=e.onPositionChange)==null||o.call(e,a.placement)},[a.placement]),Pl(()=>{var o,s;e.opened?(s=e.onOpen)==null||s.call(e):(o=e.onClose)==null||o.call(e)},[e.opened]),{floating:a,controlled:typeof e.opened=="boolean",opened:t,onClose:r,onToggle:i}}const S4e={context:"Popover component was not found in the tree",children:"Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[iyt,C4e]=Qf(S4e.context);var ayt=Object.defineProperty,oyt=Object.defineProperties,syt=Object.getOwnPropertyDescriptors,FP=Object.getOwnPropertySymbols,_4e=Object.prototype.hasOwnProperty,N4e=Object.prototype.propertyIsEnumerable,jme=(e,t,n)=>t in e?ayt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r5=(e,t)=>{for(var n in t||(t={}))_4e.call(t,n)&&jme(e,n,t[n]);if(FP)for(var n of FP(t))N4e.call(t,n)&&jme(e,n,t[n]);return e},lyt=(e,t)=>oyt(e,syt(t)),cyt=(e,t)=>{var n={};for(var r in e)_4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&FP)for(var r of FP(e))t.indexOf(r)<0&&N4e.call(e,r)&&(n[r]=e[r]);return n};const uyt={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},E4e=w.forwardRef((e,t)=>{const n=Qt("PopoverTarget",uyt,e),{children:r,refProp:i,popupType:a,shouldOverrideDefaultTargetId:o}=n,s=cyt(n,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!YS(r))throw new Error(S4e.children);const l=s,c=C4e(),u=Lp(c.reference,r.ref,t),f=c.withRoles?{"aria-haspopup":a,"aria-expanded":c.opened,"aria-controls":c.getDropdownId(),id:o?c.getTargetId():r.props.id}:{};return w.cloneElement(r,r5(lyt(r5(r5(r5({},l),f),c.targetProps),{className:oje(c.targetProps.className,l.className,r.props.className),[i]:u}),c.controlled?null:{onClick:c.onToggle}))});E4e.displayName="@mantine/core/PopoverTarget";var dyt=ln((e,{radius:t,shadow:n})=>({dropdown:{position:"absolute",backgroundColor:e.white,background:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`,padding:`${e.spacing.sm} ${e.spacing.md}`,boxShadow:e.shadows[n]||n||"none",borderRadius:e.fn.radius(t),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`,zIndex:1}})),fyt=Object.defineProperty,Pme=Object.getOwnPropertySymbols,hyt=Object.prototype.hasOwnProperty,myt=Object.prototype.propertyIsEnumerable,Mme=(e,t,n)=>t in e?fyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J1=(e,t)=>{for(var n in t||(t={}))hyt.call(t,n)&&Mme(e,n,t[n]);if(Pme)for(var n of Pme(t))myt.call(t,n)&&Mme(e,n,t[n]);return e};const Rme={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function pyt({transition:e,state:t,duration:n,timingFunction:r}){const i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return typeof e=="string"?e in VO?J1(J1(J1({transitionProperty:VO[e].transitionProperty},i),VO[e].common),VO[e][Rme[t]]):null:J1(J1(J1({transitionProperty:e.transitionProperty},i),e.common),e[Rme[t]])}function Ayt({duration:e,exitDuration:t,timingFunction:n,mounted:r,onEnter:i,onExit:a,onEntered:o,onExited:s}){const l=Eu(),c=i3(),u=l.respectReducedMotion?c:!1,[f,h]=w.useState(u?0:e),[m,p]=w.useState(r?"entered":"exited"),A=w.useRef(-1),v=y=>{const x=y?i:a,k=y?o:s;p(y?"pre-entering":"pre-exiting"),window.clearTimeout(A.current);const S=u?0:y?e:t;if(h(S),S===0)typeof x=="function"&&x(),typeof k=="function"&&k(),p(y?"entered":"exited");else{const C=window.setTimeout(()=>{typeof x=="function"&&x(),p(y?"entering":"exiting")},10);A.current=window.setTimeout(()=>{window.clearTimeout(C),typeof k=="function"&&k(),p(y?"entered":"exited")},S)}};return Pl(()=>{v(r)},[r]),w.useEffect(()=>()=>window.clearTimeout(A.current),[]),{transitionDuration:f,transitionStatus:m,transitionTimingFunction:n||l.transitionTimingFunction}}function iC({keepMounted:e,transition:t,duration:n=250,exitDuration:r=n,mounted:i,children:a,timingFunction:o,onExit:s,onEntered:l,onEnter:c,onExited:u}){const{transitionDuration:f,transitionStatus:h,transitionTimingFunction:m}=Ayt({mounted:i,exitDuration:r,duration:n,timingFunction:o,onExit:s,onEntered:l,onEnter:c,onExited:u});return f===0?i?L.createElement(L.Fragment,null,a({})):e?a({display:"none"}):null:h==="exited"?e?a({display:"none"}):null:L.createElement(L.Fragment,null,a(pyt({transition:t,duration:f,state:h,timingFunction:m})))}iC.displayName="@mantine/core/Transition";function tne({children:e,active:t=!0,refProp:n="ref"}){const r=Pht(t),i=Lp(r,e?.ref);return YS(e)?w.cloneElement(e,{[n]:i}):e}tne.displayName="@mantine/core/FocusTrap";var gyt=Object.defineProperty,vyt=Object.defineProperties,yyt=Object.getOwnPropertyDescriptors,$me=Object.getOwnPropertySymbols,byt=Object.prototype.hasOwnProperty,xyt=Object.prototype.propertyIsEnumerable,Lme=(e,t,n)=>t in e?gyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vv=(e,t)=>{for(var n in t||(t={}))byt.call(t,n)&&Lme(e,n,t[n]);if($me)for(var n of $me(t))xyt.call(t,n)&&Lme(e,n,t[n]);return e},i5=(e,t)=>vyt(e,yyt(t));function Ume(e,t,n,r){return e==="center"||r==="center"?{top:t}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}function zme(e,t,n,r,i){return e==="center"||r==="center"?{left:t}:e==="end"?{[i==="ltr"?"right":"left"]:n}:e==="start"?{[i==="ltr"?"left":"right"]:n}:{}}const wyt={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function kyt({position:e,arrowSize:t,arrowOffset:n,arrowRadius:r,arrowPosition:i,arrowX:a,arrowY:o,dir:s}){const[l,c="center"]=e.split("-"),u={width:Ve(t),height:Ve(t),transform:"rotate(45deg)",position:"absolute",[wyt[l]]:Ve(r)},f=Ve(-t/2);return l==="left"?i5(vv(vv({},u),Ume(c,o,n,i)),{right:f,borderLeftColor:"transparent",borderBottomColor:"transparent"}):l==="right"?i5(vv(vv({},u),Ume(c,o,n,i)),{left:f,borderRightColor:"transparent",borderTopColor:"transparent"}):l==="top"?i5(vv(vv({},u),zme(c,a,n,i,s)),{bottom:f,borderTopColor:"transparent",borderLeftColor:"transparent"}):l==="bottom"?i5(vv(vv({},u),zme(c,a,n,i,s)),{top:f,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var Syt=Object.defineProperty,Cyt=Object.defineProperties,_yt=Object.getOwnPropertyDescriptors,DP=Object.getOwnPropertySymbols,F4e=Object.prototype.hasOwnProperty,D4e=Object.prototype.propertyIsEnumerable,Hme=(e,t,n)=>t in e?Syt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nyt=(e,t)=>{for(var n in t||(t={}))F4e.call(t,n)&&Hme(e,n,t[n]);if(DP)for(var n of DP(t))D4e.call(t,n)&&Hme(e,n,t[n]);return e},Eyt=(e,t)=>Cyt(e,_yt(t)),Fyt=(e,t)=>{var n={};for(var r in e)F4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&DP)for(var r of DP(e))t.indexOf(r)<0&&D4e.call(e,r)&&(n[r]=e[r]);return n};const nne=w.forwardRef((e,t)=>{var n=e,{position:r,arrowSize:i,arrowOffset:a,arrowRadius:o,arrowPosition:s,visible:l,arrowX:c,arrowY:u}=n,f=Fyt(n,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const h=Eu();return l?L.createElement("div",Eyt(Nyt({},f),{ref:t,style:kyt({position:r,arrowSize:i,arrowOffset:a,arrowRadius:o,arrowPosition:s,dir:h.dir,arrowX:c,arrowY:u})})):null});nne.displayName="@mantine/core/FloatingArrow";var Dyt=Object.defineProperty,Tyt=Object.defineProperties,Oyt=Object.getOwnPropertyDescriptors,TP=Object.getOwnPropertySymbols,T4e=Object.prototype.hasOwnProperty,O4e=Object.prototype.propertyIsEnumerable,Vme=(e,t,n)=>t in e?Dyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ew=(e,t)=>{for(var n in t||(t={}))T4e.call(t,n)&&Vme(e,n,t[n]);if(TP)for(var n of TP(t))O4e.call(t,n)&&Vme(e,n,t[n]);return e},a5=(e,t)=>Tyt(e,Oyt(t)),Byt=(e,t)=>{var n={};for(var r in e)T4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&TP)for(var r of TP(e))t.indexOf(r)<0&&O4e.call(e,r)&&(n[r]=e[r]);return n};const Iyt={};function B4e(e){var t;const n=Qt("PopoverDropdown",Iyt,e),{style:r,className:i,children:a,onKeyDownCapture:o}=n,s=Byt(n,["style","className","children","onKeyDownCapture"]),l=C4e(),{classes:c,cx:u}=dyt({radius:l.radius,shadow:l.shadow},{name:l.__staticSelector,classNames:l.classNames,styles:l.styles,unstyled:l.unstyled,variant:l.variant}),f=Fje({opened:l.opened,shouldReturnFocus:l.returnFocus}),h=l.withRoles?{"aria-labelledby":l.getTargetId(),id:l.getDropdownId(),role:"dialog"}:{};return l.disabled?null:L.createElement(tC,a5(ew({},l.portalProps),{withinPortal:l.withinPortal}),L.createElement(iC,a5(ew({mounted:l.opened},l.transitionProps),{transition:l.transitionProps.transition||"fade",duration:(t=l.transitionProps.duration)!=null?t:150,keepMounted:l.keepMounted,exitDuration:typeof l.transitionProps.exitDuration=="number"?l.transitionProps.exitDuration:l.transitionProps.duration}),m=>{var p,A;return L.createElement(tne,{active:l.trapFocus},L.createElement(Fn,ew(a5(ew({},h),{tabIndex:-1,ref:l.floating,style:a5(ew(ew({},r),m),{zIndex:l.zIndex,top:(p=l.y)!=null?p:0,left:(A=l.x)!=null?A:0,width:l.width==="target"?void 0:Ve(l.width)}),className:u(c.dropdown,i),onKeyDownCapture:mdt(l.onClose,{active:l.closeOnEscape,onTrigger:f,onKeyDown:o}),"data-position":l.placement}),s),a,L.createElement(nne,{ref:l.arrowRef,arrowX:l.arrowX,arrowY:l.arrowY,visible:l.withArrow,position:l.placement,arrowSize:l.arrowSize,arrowRadius:l.arrowRadius,arrowOffset:l.arrowOffset,arrowPosition:l.arrowPosition,className:c.arrow})))}))}B4e.displayName="@mantine/core/PopoverDropdown";function I4e(e,t){if(e==="rtl"&&(t.includes("right")||t.includes("left"))){const[n,r]=t.split("-"),i=n==="right"?"left":"right";return r===void 0?i:`${i}-${r}`}return t}var Qme=Object.getOwnPropertySymbols,jyt=Object.prototype.hasOwnProperty,Pyt=Object.prototype.propertyIsEnumerable,Myt=(e,t)=>{var n={};for(var r in e)jyt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qme)for(var r of Qme(e))t.indexOf(r)<0&&Pyt.call(e,r)&&(n[r]=e[r]);return n};const Ryt={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:$p("popover"),__staticSelector:"Popover",width:"max-content"};function Mc(e){var t,n,r,i,a,o;const s=w.useRef(null),l=Qt("Popover",Ryt,e),{children:c,position:u,offset:f,onPositionChange:h,positionDependencies:m,opened:p,transitionProps:A,width:v,middlewares:y,withArrow:x,arrowSize:k,arrowOffset:S,arrowRadius:C,arrowPosition:N,unstyled:E,classNames:D,styles:T,closeOnClickOutside:P,withinPortal:O,portalProps:B,closeOnEscape:M,clickOutsideEvents:$,trapFocus:U,onClose:j,onOpen:V,onChange:Q,zIndex:X,radius:Z,shadow:le,id:H,defaultOpened:G,__staticSelector:W,withRoles:te,disabled:re,returnFocus:ne,variant:de,keepMounted:he}=l,pe=Myt(l,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[oe,J]=w.useState(null),[Se,be]=w.useState(null),we=$x(H),me=Eu(),K=ryt({middlewares:y,width:v,position:I4e(me.dir,u),offset:typeof f=="number"?f+(x?k/2:0):f,arrowRef:s,arrowOffset:S,onPositionChange:h,positionDependencies:m,opened:p,defaultOpened:G,onChange:Q,onOpen:V,onClose:j});_ht(()=>K.opened&&P&&K.onClose(),$,[oe,Se]);const ie=w.useCallback(ue=>{J(ue),K.floating.reference(ue)},[K.floating.reference]),ce=w.useCallback(ue=>{be(ue),K.floating.floating(ue)},[K.floating.floating]);return L.createElement(iyt,{value:{returnFocus:ne,disabled:re,controlled:K.controlled,reference:ie,floating:ce,x:K.floating.x,y:K.floating.y,arrowX:(r=(n=(t=K.floating)==null?void 0:t.middlewareData)==null?void 0:n.arrow)==null?void 0:r.x,arrowY:(o=(a=(i=K.floating)==null?void 0:i.middlewareData)==null?void 0:a.arrow)==null?void 0:o.y,opened:K.opened,arrowRef:s,transitionProps:A,width:v,withArrow:x,arrowSize:k,arrowOffset:S,arrowRadius:C,arrowPosition:N,placement:K.floating.placement,trapFocus:U,withinPortal:O,portalProps:B,zIndex:X,radius:Z,shadow:le,closeOnEscape:M,onClose:K.onClose,onToggle:K.onToggle,getTargetId:()=>`${we}-target`,getDropdownId:()=>`${we}-dropdown`,withRoles:te,targetProps:pe,__staticSelector:W,classNames:D,styles:T,unstyled:E,variant:de,keepMounted:he}},c)}Mc.Target=E4e;Mc.Dropdown=B4e;Mc.displayName="@mantine/core/Popover";var $yt=Object.defineProperty,OP=Object.getOwnPropertySymbols,j4e=Object.prototype.hasOwnProperty,P4e=Object.prototype.propertyIsEnumerable,qme=(e,t,n)=>t in e?$yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lyt=(e,t)=>{for(var n in t||(t={}))j4e.call(t,n)&&qme(e,n,t[n]);if(OP)for(var n of OP(t))P4e.call(t,n)&&qme(e,n,t[n]);return e},Uyt=(e,t)=>{var n={};for(var r in e)j4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&OP)for(var r of OP(e))t.indexOf(r)<0&&P4e.call(e,r)&&(n[r]=e[r]);return n};function zyt(e){var t=e,{children:n,component:r="div",maxHeight:i=220,direction:a="column",id:o,innerRef:s,__staticSelector:l,styles:c,classNames:u,unstyled:f}=t,h=Uyt(t,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:m}=Ogt(null,{name:l,styles:c,classNames:u,unstyled:f});return L.createElement(Mc.Dropdown,Lyt({p:0,onMouseDown:p=>p.preventDefault()},h),L.createElement("div",{style:{maxHeight:Ve(i),display:"flex"}},L.createElement(Fn,{component:r||"div",id:`${o}-items`,"aria-labelledby":`${o}-label`,role:"listbox",onMouseDown:p=>p.preventDefault(),style:{flex:1,overflowY:r!==c3?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:s},L.createElement("div",{className:m.itemsWrapper,style:{flexDirection:a}},n))))}function ay({opened:e,transitionProps:t={transition:"fade",duration:0},shadow:n,withinPortal:r,portalProps:i,children:a,__staticSelector:o,onDirectionChange:s,switchDirectionOnFlip:l,zIndex:c,dropdownPosition:u,positionDependencies:f=[],classNames:h,styles:m,unstyled:p,readOnly:A,variant:v}){return L.createElement(Mc,{unstyled:p,classNames:h,styles:m,width:"target",withRoles:!1,opened:e,middlewares:{flip:u==="flip",shift:!1},position:u==="flip"?"bottom":u,positionDependencies:f,zIndex:c,__staticSelector:o,withinPortal:r,portalProps:i,transitionProps:t,shadow:n,disabled:A,onPositionChange:y=>l&&s?.(y==="top"?"column-reverse":"column"),variant:v},a)}ay.Target=Mc.Target;ay.Dropdown=zyt;var Hyt=Object.defineProperty,Vyt=Object.defineProperties,Qyt=Object.getOwnPropertyDescriptors,BP=Object.getOwnPropertySymbols,M4e=Object.prototype.hasOwnProperty,R4e=Object.prototype.propertyIsEnumerable,Gme=(e,t,n)=>t in e?Hyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o5=(e,t)=>{for(var n in t||(t={}))M4e.call(t,n)&&Gme(e,n,t[n]);if(BP)for(var n of BP(t))R4e.call(t,n)&&Gme(e,n,t[n]);return e},qyt=(e,t)=>Vyt(e,Qyt(t)),Gyt=(e,t)=>{var n={};for(var r in e)M4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&BP)for(var r of BP(e))t.indexOf(r)<0&&R4e.call(e,r)&&(n[r]=e[r]);return n};function A3(e,t,n){const r=Qt(e,t,n),{label:i,description:a,error:o,required:s,classNames:l,styles:c,className:u,unstyled:f,__staticSelector:h,sx:m,errorProps:p,labelProps:A,descriptionProps:v,wrapperProps:y,id:x,size:k,style:S,inputContainer:C,inputWrapperOrder:N,withAsterisk:E,variant:D}=r,T=Gyt(r,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),P=$x(x),{systemStyles:O,rest:B}=eC(T),M=o5({label:i,description:a,error:o,required:s,classNames:l,className:u,__staticSelector:h,sx:m,errorProps:p,labelProps:A,descriptionProps:v,unstyled:f,styles:c,id:P,size:k,style:S,inputContainer:C,inputWrapperOrder:N,withAsterisk:E,variant:D},y);return qyt(o5({},B),{classNames:l,styles:c,unstyled:f,wrapperProps:o5(o5({},M),O),inputProps:{required:s,classNames:l,styles:c,unstyled:f,id:P,size:k,__staticSelector:h,error:o,variant:D}})}var Wyt=ln((e,t,{size:n})=>({label:{display:"inline-block",fontSize:Ot({size:n,sizes:e.fontSizes}),fontWeight:500,color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:e.fn.variant({variant:"filled",color:"red"}).background}})),Kyt=Object.defineProperty,IP=Object.getOwnPropertySymbols,$4e=Object.prototype.hasOwnProperty,L4e=Object.prototype.propertyIsEnumerable,Wme=(e,t,n)=>t in e?Kyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yyt=(e,t)=>{for(var n in t||(t={}))$4e.call(t,n)&&Wme(e,n,t[n]);if(IP)for(var n of IP(t))L4e.call(t,n)&&Wme(e,n,t[n]);return e},Xyt=(e,t)=>{var n={};for(var r in e)$4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&IP)for(var r of IP(e))t.indexOf(r)<0&&L4e.call(e,r)&&(n[r]=e[r]);return n};const Zyt={labelElement:"label",size:"sm"},rne=w.forwardRef((e,t)=>{const n=Qt("InputLabel",Zyt,e),{labelElement:r,children:i,required:a,size:o,classNames:s,styles:l,unstyled:c,className:u,htmlFor:f,__staticSelector:h,variant:m,onMouseDown:p}=n,A=Xyt(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:v,cx:y}=Wyt(null,{name:["InputWrapper",h],classNames:s,styles:l,unstyled:c,variant:m,size:o});return L.createElement(Fn,Yyt({component:r,ref:t,className:y(v.label,u),htmlFor:r==="label"?f:void 0,onMouseDown:x=>{p?.(x),!x.defaultPrevented&&x.detail>1&&x.preventDefault()}},A),i,a&&L.createElement("span",{className:v.required,"aria-hidden":!0}," *"))});rne.displayName="@mantine/core/InputLabel";var Jyt=ln((e,t,{size:n})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${Ot({size:n,sizes:e.fontSizes})} - ${Ve(2)})`,lineHeight:1.2,display:"block"}})),e0t=Object.defineProperty,jP=Object.getOwnPropertySymbols,U4e=Object.prototype.hasOwnProperty,z4e=Object.prototype.propertyIsEnumerable,Kme=(e,t,n)=>t in e?e0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t0t=(e,t)=>{for(var n in t||(t={}))U4e.call(t,n)&&Kme(e,n,t[n]);if(jP)for(var n of jP(t))z4e.call(t,n)&&Kme(e,n,t[n]);return e},n0t=(e,t)=>{var n={};for(var r in e)U4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&jP)for(var r of jP(e))t.indexOf(r)<0&&z4e.call(e,r)&&(n[r]=e[r]);return n};const r0t={size:"sm"},ine=w.forwardRef((e,t)=>{const n=Qt("InputError",r0t,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=n0t(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=Jyt(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return L.createElement(er,t0t({className:m(h.error,i),ref:t},f),r)});ine.displayName="@mantine/core/InputError";var i0t=ln((e,t,{size:n})=>({description:{wordBreak:"break-word",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontSize:`calc(${Ot({size:n,sizes:e.fontSizes})} - ${Ve(2)})`,lineHeight:1.2,display:"block"}})),a0t=Object.defineProperty,PP=Object.getOwnPropertySymbols,H4e=Object.prototype.hasOwnProperty,V4e=Object.prototype.propertyIsEnumerable,Yme=(e,t,n)=>t in e?a0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o0t=(e,t)=>{for(var n in t||(t={}))H4e.call(t,n)&&Yme(e,n,t[n]);if(PP)for(var n of PP(t))V4e.call(t,n)&&Yme(e,n,t[n]);return e},s0t=(e,t)=>{var n={};for(var r in e)H4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&PP)for(var r of PP(e))t.indexOf(r)<0&&V4e.call(e,r)&&(n[r]=e[r]);return n};const l0t={size:"sm"},ane=w.forwardRef((e,t)=>{const n=Qt("InputDescription",l0t,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=s0t(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=i0t(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return L.createElement(er,o0t({color:"dimmed",className:m(h.description,i),ref:t,unstyled:s},f),r)});ane.displayName="@mantine/core/InputDescription";const Q4e=w.createContext({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),c0t=Q4e.Provider,u0t=()=>w.useContext(Q4e);function d0t(e,{hasDescription:t,hasError:n}){const r=e.findIndex(l=>l==="input"),i=e[r-1],a=e[r+1];return{offsetBottom:t&&a==="description"||n&&a==="error",offsetTop:t&&i==="description"||n&&i==="error"}}var f0t=Object.defineProperty,h0t=Object.defineProperties,m0t=Object.getOwnPropertyDescriptors,Xme=Object.getOwnPropertySymbols,p0t=Object.prototype.hasOwnProperty,A0t=Object.prototype.propertyIsEnumerable,Zme=(e,t,n)=>t in e?f0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g0t=(e,t)=>{for(var n in t||(t={}))p0t.call(t,n)&&Zme(e,n,t[n]);if(Xme)for(var n of Xme(t))A0t.call(t,n)&&Zme(e,n,t[n]);return e},v0t=(e,t)=>h0t(e,m0t(t)),y0t=ln(e=>({root:v0t(g0t({},e.fn.fontStyles()),{lineHeight:e.lineHeight})})),b0t=Object.defineProperty,x0t=Object.defineProperties,w0t=Object.getOwnPropertyDescriptors,MP=Object.getOwnPropertySymbols,q4e=Object.prototype.hasOwnProperty,G4e=Object.prototype.propertyIsEnumerable,Jme=(e,t,n)=>t in e?b0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yv=(e,t)=>{for(var n in t||(t={}))q4e.call(t,n)&&Jme(e,n,t[n]);if(MP)for(var n of MP(t))G4e.call(t,n)&&Jme(e,n,t[n]);return e},epe=(e,t)=>x0t(e,w0t(t)),k0t=(e,t)=>{var n={};for(var r in e)q4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&MP)for(var r of MP(e))t.indexOf(r)<0&&G4e.call(e,r)&&(n[r]=e[r]);return n};const S0t={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},W4e=w.forwardRef((e,t)=>{const n=Qt("InputWrapper",S0t,e),{className:r,label:i,children:a,required:o,id:s,error:l,description:c,labelElement:u,labelProps:f,descriptionProps:h,errorProps:m,classNames:p,styles:A,size:v,inputContainer:y,__staticSelector:x,unstyled:k,inputWrapperOrder:S,withAsterisk:C,variant:N}=n,E=k0t(n,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:D,cx:T}=y0t(null,{classNames:p,styles:A,name:["InputWrapper",x],unstyled:k,variant:N,size:v}),P={classNames:p,styles:A,unstyled:k,size:v,variant:N,__staticSelector:x},O=typeof C=="boolean"?C:o,B=s?`${s}-error`:m?.id,M=s?`${s}-description`:h?.id,U=`${!!l&&typeof l!="boolean"?B:""} ${c?M:""}`,j=U.trim().length>0?U.trim():void 0,V=i&&L.createElement(rne,yv(yv({key:"label",labelElement:u,id:s?`${s}-label`:void 0,htmlFor:s,required:O},P),f),i),Q=c&&L.createElement(ane,epe(yv(yv({key:"description"},h),P),{size:h?.size||P.size,id:h?.id||M}),c),X=L.createElement(w.Fragment,{key:"input"},y(a)),Z=typeof l!="boolean"&&l&&L.createElement(ine,epe(yv(yv({},m),P),{size:m?.size||P.size,key:"error",id:m?.id||B}),l),le=S.map(H=>{switch(H){case"label":return V;case"input":return X;case"description":return Q;case"error":return Z;default:return null}});return L.createElement(c0t,{value:yv({describedBy:j},d0t(S,{hasDescription:!!Q,hasError:!!Z}))},L.createElement(Fn,yv({className:T(D.root,r),ref:t},E),le))});W4e.displayName="@mantine/core/InputWrapper";var C0t=Object.defineProperty,RP=Object.getOwnPropertySymbols,K4e=Object.prototype.hasOwnProperty,Y4e=Object.prototype.propertyIsEnumerable,tpe=(e,t,n)=>t in e?C0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_0t=(e,t)=>{for(var n in t||(t={}))K4e.call(t,n)&&tpe(e,n,t[n]);if(RP)for(var n of RP(t))Y4e.call(t,n)&&tpe(e,n,t[n]);return e},N0t=(e,t)=>{var n={};for(var r in e)K4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&RP)for(var r of RP(e))t.indexOf(r)<0&&Y4e.call(e,r)&&(n[r]=e[r]);return n};const E0t={},X4e=w.forwardRef((e,t)=>{const n=Qt("InputPlaceholder",E0t,e),{sx:r}=n,i=N0t(n,["sx"]);return L.createElement(Fn,_0t({component:"span",sx:[a=>a.fn.placeholderStyles(),...rje(r)],ref:t},i))});X4e.displayName="@mantine/core/InputPlaceholder";var F0t=Object.defineProperty,D0t=Object.defineProperties,T0t=Object.getOwnPropertyDescriptors,npe=Object.getOwnPropertySymbols,O0t=Object.prototype.hasOwnProperty,B0t=Object.prototype.propertyIsEnumerable,rpe=(e,t,n)=>t in e?F0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s5=(e,t)=>{for(var n in t||(t={}))O0t.call(t,n)&&rpe(e,n,t[n]);if(npe)for(var n of npe(t))B0t.call(t,n)&&rpe(e,n,t[n]);return e},T7=(e,t)=>D0t(e,T0t(t));const lu={xs:Ve(30),sm:Ve(36),md:Ve(42),lg:Ve(50),xl:Ve(60)},I0t=["default","filled","unstyled"];function j0t({theme:e,variant:t}){return I0t.includes(t)?t==="default"?{border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,transition:"border-color 100ms ease","&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:t==="filled"?{border:`${Ve(1)} solid transparent`,backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[1],"&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:{borderWidth:0,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:"transparent",minHeight:Ve(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}var P0t=ln((e,{multiline:t,radius:n,invalid:r,rightSectionWidth:i,withRightSection:a,iconWidth:o,offsetBottom:s,offsetTop:l,pointer:c},{variant:u,size:f})=>{const h=e.fn.variant({variant:"filled",color:"red"}).background,m=u==="default"||u==="filled"?{minHeight:Ot({size:f,sizes:lu}),paddingLeft:`calc(${Ot({size:f,sizes:lu})} / 3)`,paddingRight:a?i||Ot({size:f,sizes:lu}):`calc(${Ot({size:f,sizes:lu})} / 3)`,borderRadius:e.fn.radius(n)}:u==="unstyled"&&a?{paddingRight:i||Ot({size:f,sizes:lu})}:null;return{wrapper:{position:"relative",marginTop:l?`calc(${e.spacing.xs} / 2)`:void 0,marginBottom:s?`calc(${e.spacing.xs} / 2)`:void 0,"&:has(input:disabled)":{"& .mantine-Input-rightSection":{display:"none"}}},input:T7(s5(s5(T7(s5({},e.fn.fontStyles()),{height:t?u==="unstyled"?void 0:"auto":Ot({size:f,sizes:lu}),WebkitTapHighlightColor:"transparent",lineHeight:t?e.lineHeight:`calc(${Ot({size:f,sizes:lu})} - ${Ve(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:Ot({size:f,sizes:e.fontSizes}),width:"100%",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,display:"block",textAlign:"left",cursor:c?"pointer":void 0}),j0t({theme:e,variant:u})),m),{"&:disabled, &[data-disabled]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed",pointerEvents:"none","&::placeholder":{color:e.colors.dark[2]}},"&[data-invalid]":{color:h,borderColor:h,"&::placeholder":{opacity:1,color:h}},"&[data-with-icon]":{paddingLeft:typeof o=="number"?Ve(o):Ot({size:f,sizes:lu})},"&::placeholder":T7(s5({},e.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:o?Ve(o):Ot({size:f,sizes:lu}),color:r?e.colors.red[e.colorScheme==="dark"?6:7]:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:i||Ot({size:f,sizes:lu})}}}),M0t=Object.defineProperty,R0t=Object.defineProperties,$0t=Object.getOwnPropertyDescriptors,$P=Object.getOwnPropertySymbols,Z4e=Object.prototype.hasOwnProperty,J4e=Object.prototype.propertyIsEnumerable,ipe=(e,t,n)=>t in e?M0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l5=(e,t)=>{for(var n in t||(t={}))Z4e.call(t,n)&&ipe(e,n,t[n]);if($P)for(var n of $P(t))J4e.call(t,n)&&ipe(e,n,t[n]);return e},ape=(e,t)=>R0t(e,$0t(t)),L0t=(e,t)=>{var n={};for(var r in e)Z4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$P)for(var r of $P(e))t.indexOf(r)<0&&J4e.call(e,r)&&(n[r]=e[r]);return n};const U0t={size:"sm",variant:"default"},Ux=w.forwardRef((e,t)=>{const n=Qt("Input",U0t,e),{className:r,error:i,required:a,disabled:o,variant:s,icon:l,style:c,rightSectionWidth:u,iconWidth:f,rightSection:h,rightSectionProps:m,radius:p,size:A,wrapperProps:v,classNames:y,styles:x,__staticSelector:k,multiline:S,sx:C,unstyled:N,pointer:E}=n,D=L0t(n,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:T,offsetTop:P,describedBy:O}=u0t(),{classes:B,cx:M}=P0t({radius:p,multiline:S,invalid:!!i,rightSectionWidth:u?Ve(u):void 0,iconWidth:f,withRightSection:!!h,offsetBottom:T,offsetTop:P,pointer:E},{classNames:y,styles:x,name:["Input",k],unstyled:N,variant:s,size:A}),{systemStyles:$,rest:U}=eC(D);return L.createElement(Fn,l5(l5({className:M(B.wrapper,r),sx:C,style:c},$),v),l&&L.createElement("div",{className:B.icon},l),L.createElement(Fn,ape(l5({component:"input"},U),{ref:t,required:a,"aria-invalid":!!i,"aria-describedby":O,disabled:o,"data-disabled":o||void 0,"data-with-icon":!!l||void 0,"data-invalid":!!i||void 0,className:B.input})),h&&L.createElement("div",ape(l5({},m),{className:B.rightSection}),h))});Ux.displayName="@mantine/core/Input";Ux.Wrapper=W4e;Ux.Label=rne;Ux.Description=ane;Ux.Error=ine;Ux.Placeholder=X4e;const Ml=Ux;var z0t=Object.defineProperty,H0t=Object.defineProperties,V0t=Object.getOwnPropertyDescriptors,ope=Object.getOwnPropertySymbols,Q0t=Object.prototype.hasOwnProperty,q0t=Object.prototype.propertyIsEnumerable,spe=(e,t,n)=>t in e?z0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O7=(e,t)=>{for(var n in t||(t={}))Q0t.call(t,n)&&spe(e,n,t[n]);if(ope)for(var n of ope(t))q0t.call(t,n)&&spe(e,n,t[n]);return e},G0t=(e,t)=>H0t(e,V0t(t));const W0t=["light","filled","outline","dot","gradient"],B7={xs:{fontSize:Ve(9),height:Ve(16)},sm:{fontSize:Ve(10),height:Ve(18)},md:{fontSize:Ve(11),height:Ve(20)},lg:{fontSize:Ve(13),height:Ve(26)},xl:{fontSize:Ve(16),height:Ve(32)}},K0t={xs:Ve(4),sm:Ve(4),md:Ve(6),lg:Ve(8),xl:Ve(10)};function Y0t({theme:e,variant:t,color:n,size:r,gradient:i}){if(!W0t.includes(t))return null;if(t==="dot"){const o=Ot({size:r,sizes:K0t});return{backgroundColor:"transparent",color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[3]}`,paddingLeft:`calc(${Ot({size:r,sizes:e.spacing})} / 1.5 - ${o} / 2)`,"&::before":{content:'""',display:"block",width:o,height:o,borderRadius:o,backgroundColor:e.fn.themeColor(n,e.colorScheme==="dark"?4:e.fn.primaryShade("light"),!0),marginRight:o}}}const a=e.fn.variant({color:n,variant:t,gradient:i});return{background:a.background,color:a.color,border:`${Ve(t==="gradient"?0:1)} solid ${a.border}`}}var X0t=ln((e,{color:t,radius:n,gradient:r,fullWidth:i},{variant:a,size:o})=>{const{fontSize:s,height:l}=o in B7?B7[o]:B7.md;return{leftSection:{marginRight:`calc(${e.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${e.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:O7(G0t(O7(O7({},e.fn.focusStyles()),e.fn.fontStyles()),{fontSize:s,height:l,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${l} - ${Ve(2)})`,textDecoration:"none",padding:`0 calc(${Ot({size:o,sizes:e.spacing})} / 1.5)`,boxSizing:"border-box",display:i?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:i?"100%":"auto",textTransform:"uppercase",borderRadius:e.fn.radius(n),fontWeight:700,letterSpacing:Ve(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),Y0t({theme:e,variant:a,color:t,size:o,gradient:r}))}}),Z0t=Object.defineProperty,LP=Object.getOwnPropertySymbols,eMe=Object.prototype.hasOwnProperty,tMe=Object.prototype.propertyIsEnumerable,lpe=(e,t,n)=>t in e?Z0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J0t=(e,t)=>{for(var n in t||(t={}))eMe.call(t,n)&&lpe(e,n,t[n]);if(LP)for(var n of LP(t))tMe.call(t,n)&&lpe(e,n,t[n]);return e},ebt=(e,t)=>{var n={};for(var r in e)eMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&LP)for(var r of LP(e))t.indexOf(r)<0&&tMe.call(e,r)&&(n[r]=e[r]);return n};const tbt={variant:"light",size:"md",radius:"xl"},nMe=w.forwardRef((e,t)=>{const n=Qt("Badge",tbt,e),{className:r,color:i,variant:a,fullWidth:o,children:s,size:l,leftSection:c,rightSection:u,radius:f,gradient:h,classNames:m,styles:p,unstyled:A}=n,v=ebt(n,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:y,cx:x}=X0t({fullWidth:o,color:i,radius:f,gradient:h},{classNames:m,styles:p,name:"Badge",unstyled:A,variant:a,size:l});return L.createElement(Fn,J0t({className:x(y.root,r),ref:t},v),c&&L.createElement("span",{className:y.leftSection},c),L.createElement("span",{className:y.inner},s),u&&L.createElement("span",{className:y.rightSection},u))});nMe.displayName="@mantine/core/Badge";const jY=nMe,nbt={xs:Ve(12),sm:Ve(18),md:Ve(24),lg:Ve(34),xl:Ve(42)};var rbt=ln((e,{color:t,transitionDuration:n},{size:r})=>{const i=Ot({size:r,sizes:nbt}),a=t||(e.colorScheme==="dark"?e.white:e.black);return{root:{borderRadius:e.radius.sm,width:`calc(${i} + ${e.spacing.xs})`,height:`calc(${i} + ${e.spacing.xs})`,padding:`calc(${e.spacing.xs} / 2)`,cursor:"pointer"},burger:{position:"relative",userSelect:"none",boxSizing:"border-box","&, &::before, &::after":{display:"block",width:i,height:`calc(${i} / 12)`,backgroundColor:a,outline:`${Ve(1)} solid transparent`,transitionProperty:"background-color, transform",transitionDuration:`${n}ms`,"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},"&::before, &::after":{position:"absolute",content:'""',left:0},"&::before":{top:`calc((${i} / 3) * -1)`},"&::after":{top:`calc(${i} / 3)`},"&[data-opened]":{backgroundColor:"transparent","&::before":{transform:`translateY(calc(${i} / 3)) rotate(45deg)`},"&::after":{transform:`translateY(calc(-${i} / 3)) rotate(-45deg)`}}}}}),ibt=Object.defineProperty,UP=Object.getOwnPropertySymbols,rMe=Object.prototype.hasOwnProperty,iMe=Object.prototype.propertyIsEnumerable,cpe=(e,t,n)=>t in e?ibt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,abt=(e,t)=>{for(var n in t||(t={}))rMe.call(t,n)&&cpe(e,n,t[n]);if(UP)for(var n of UP(t))iMe.call(t,n)&&cpe(e,n,t[n]);return e},obt=(e,t)=>{var n={};for(var r in e)rMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&UP)for(var r of UP(e))t.indexOf(r)<0&&iMe.call(e,r)&&(n[r]=e[r]);return n};const sbt={size:"md",transitionDuration:300},one=w.forwardRef((e,t)=>{const n=Qt("Burger",sbt,e),{className:r,opened:i,color:a,size:o,classNames:s,styles:l,transitionDuration:c,variant:u}=n,f=obt(n,["className","opened","color","size","classNames","styles","transitionDuration","variant"]),{classes:h,cx:m}=rbt({color:a,transitionDuration:c},{classNames:s,styles:l,name:"Burger",variant:u,size:o});return L.createElement(bd,abt({className:m(h.root,r),ref:t},f),L.createElement("div",{"data-opened":i||void 0,className:h.burger}))});one.displayName="@mantine/core/Burger";var lbt=ln((e,{radius:t,shadow:n})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(t),boxShadow:e.shadows[n]||n||"none","&[data-with-border]":{border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`}}})),cbt=Object.defineProperty,zP=Object.getOwnPropertySymbols,aMe=Object.prototype.hasOwnProperty,oMe=Object.prototype.propertyIsEnumerable,upe=(e,t,n)=>t in e?cbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ubt=(e,t)=>{for(var n in t||(t={}))aMe.call(t,n)&&upe(e,n,t[n]);if(zP)for(var n of zP(t))oMe.call(t,n)&&upe(e,n,t[n]);return e},dbt=(e,t)=>{var n={};for(var r in e)aMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&zP)for(var r of zP(e))t.indexOf(r)<0&&oMe.call(e,r)&&(n[r]=e[r]);return n};const fbt={},sMe=w.forwardRef((e,t)=>{const n=Qt("Paper",fbt,e),{className:r,children:i,radius:a,withBorder:o,shadow:s,unstyled:l,variant:c}=n,u=dbt(n,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:f,cx:h}=lbt({radius:a,shadow:s},{name:"Paper",unstyled:l,variant:c});return L.createElement(Fn,ubt({className:h(f.root,r),"data-with-border":o||void 0,ref:t},u),i)});sMe.displayName="@mantine/core/Paper";const xg=sMe,lMe=w.createContext({padding:0}),hbt=lMe.Provider,mbt=()=>w.useContext(lMe).padding;var pbt=ln((e,{padding:t,withBorder:n,inheritPadding:r})=>{const i=Ot({size:t,sizes:e.spacing}),a=`calc(-1 * ${i})`,o=e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3];return{cardSection:{display:"block",marginLeft:a,marginRight:a,paddingLeft:r?i:void 0,paddingRight:r?i:void 0,borderTop:n?`${Ve(1)} solid ${o}`:void 0,borderBottom:n?`${Ve(1)} solid ${o}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:a,borderTop:0,borderBottom:n?`${Ve(1)} solid ${o}`:void 0},"&[data-last]":{marginBottom:a,borderBottom:0}}}}),Abt=Object.defineProperty,HP=Object.getOwnPropertySymbols,cMe=Object.prototype.hasOwnProperty,uMe=Object.prototype.propertyIsEnumerable,dpe=(e,t,n)=>t in e?Abt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gbt=(e,t)=>{for(var n in t||(t={}))cMe.call(t,n)&&dpe(e,n,t[n]);if(HP)for(var n of HP(t))uMe.call(t,n)&&dpe(e,n,t[n]);return e},vbt=(e,t)=>{var n={};for(var r in e)cMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&HP)for(var r of HP(e))t.indexOf(r)<0&&uMe.call(e,r)&&(n[r]=e[r]);return n};const ybt={withBorder:!1,inheritPadding:!1},dMe=w.forwardRef((e,t)=>{const n=Qt("CardSection",ybt,e),{className:r,withBorder:i,inheritPadding:a,unstyled:o,variant:s}=n,l=vbt(n,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:c,cx:u}=pbt({padding:mbt(),withBorder:i,inheritPadding:a},{name:"Card",unstyled:o,variant:s});return L.createElement(Fn,gbt({className:u(c.cardSection,r),ref:t},l))});dMe.displayName="@mantine/core/CardSection";const fMe=dMe;var bbt=ln(e=>({root:{position:"relative",overflow:"hidden",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white}})),xbt=Object.defineProperty,VP=Object.getOwnPropertySymbols,hMe=Object.prototype.hasOwnProperty,mMe=Object.prototype.propertyIsEnumerable,fpe=(e,t,n)=>t in e?xbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wbt=(e,t)=>{for(var n in t||(t={}))hMe.call(t,n)&&fpe(e,n,t[n]);if(VP)for(var n of VP(t))mMe.call(t,n)&&fpe(e,n,t[n]);return e},kbt=(e,t)=>{var n={};for(var r in e)hMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&VP)for(var r of VP(e))t.indexOf(r)<0&&mMe.call(e,r)&&(n[r]=e[r]);return n};const Sbt={padding:"md"},sne=w.forwardRef((e,t)=>{const n=Qt("Card",Sbt,e),{className:r,padding:i,radius:a,children:o,unstyled:s,variant:l}=n,c=kbt(n,["className","padding","radius","children","unstyled","variant"]),{classes:u,cx:f}=bbt(null,{name:"Card",unstyled:s,variant:l}),h=w.Children.toArray(o),m=h.map((p,A)=>typeof p=="object"&&p&&"type"in p&&p.type===fMe?w.cloneElement(p,{variant:l,padding:i,"data-first":A===0||void 0,"data-last":A===h.length-1||void 0}):p);return L.createElement(hbt,{value:{padding:i}},L.createElement(xg,wbt({className:f(u.root,r),radius:a,p:i,ref:t},c),m))});sne.Section=fMe;sne.displayName="@mantine/core/Card";const QP=sne,pMe=w.createContext(null),Cbt=pMe.Provider,_bt=()=>w.useContext(pMe);var Nbt=Object.defineProperty,qP=Object.getOwnPropertySymbols,AMe=Object.prototype.hasOwnProperty,gMe=Object.prototype.propertyIsEnumerable,hpe=(e,t,n)=>t in e?Nbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mpe=(e,t)=>{for(var n in t||(t={}))AMe.call(t,n)&&hpe(e,n,t[n]);if(qP)for(var n of qP(t))gMe.call(t,n)&&hpe(e,n,t[n]);return e},Ebt=(e,t)=>{var n={};for(var r in e)AMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qP)for(var r of qP(e))t.indexOf(r)<0&&gMe.call(e,r)&&(n[r]=e[r]);return n};const Fbt={size:"sm"},vMe=w.forwardRef((e,t)=>{const n=Qt("CheckboxGroup",Fbt,e),{children:r,value:i,defaultValue:a,onChange:o,size:s,wrapperProps:l}=n,c=Ebt(n,["children","value","defaultValue","onChange","size","wrapperProps"]),[u,f]=$c({value:i,defaultValue:a,finalValue:[],onChange:o}),h=m=>{const p=m.currentTarget.value;f(u.includes(p)?u.filter(A=>A!==p):[...u,p])};return L.createElement(Cbt,{value:{value:u,onChange:h,size:s}},L.createElement(Ml.Wrapper,mpe(mpe({labelElement:"div",size:s,__staticSelector:"CheckboxGroup",ref:t},l),c),r))});vMe.displayName="@mantine/core/CheckboxGroup";var Dbt=Object.defineProperty,GP=Object.getOwnPropertySymbols,yMe=Object.prototype.hasOwnProperty,bMe=Object.prototype.propertyIsEnumerable,ppe=(e,t,n)=>t in e?Dbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WP=(e,t)=>{for(var n in t||(t={}))yMe.call(t,n)&&ppe(e,n,t[n]);if(GP)for(var n of GP(t))bMe.call(t,n)&&ppe(e,n,t[n]);return e},xMe=(e,t)=>{var n={};for(var r in e)yMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&GP)for(var r of GP(e))t.indexOf(r)<0&&bMe.call(e,r)&&(n[r]=e[r]);return n};function wMe(e){const t=e,{width:n,height:r,style:i}=t,a=xMe(t,["width","height","style"]);return L.createElement("svg",WP({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:WP({width:n,height:r},i)},a),L.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function Tbt(e){var t=e,{indeterminate:n}=t,r=xMe(t,["indeterminate"]);return n?L.createElement("svg",WP({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},r),L.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):L.createElement(wMe,WP({},r))}var Obt=Object.defineProperty,Bbt=Object.defineProperties,Ibt=Object.getOwnPropertyDescriptors,Ape=Object.getOwnPropertySymbols,jbt=Object.prototype.hasOwnProperty,Pbt=Object.prototype.propertyIsEnumerable,gpe=(e,t,n)=>t in e?Obt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vpe=(e,t)=>{for(var n in t||(t={}))jbt.call(t,n)&&gpe(e,n,t[n]);if(Ape)for(var n of Ape(t))Pbt.call(t,n)&&gpe(e,n,t[n]);return e},ype=(e,t)=>Bbt(e,Ibt(t));const Mbt={xs:Ve(16),sm:Ve(20),md:Ve(24),lg:Ve(30),xl:Ve(36)};var Rbt=ln((e,{radius:t,color:n,transitionDuration:r,labelPosition:i,error:a,indeterminate:o},{size:s})=>{const l=Ot({size:s,sizes:Mbt}),c=e.fn.variant({variant:"filled",color:n});return{icon:ype(vpe({},e.fn.cover()),{ref:$b("icon"),color:o?"inherit":e.white,transform:o?"none":`translateY(${Ve(5)}) scale(0.5)`,opacity:o?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:`${r}ms`,pointerEvents:"none",width:"60%",position:"absolute",zIndex:1,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}),inner:{position:"relative",width:l,height:l,order:i==="left"?2:1},input:ype(vpe({},e.fn.focusStyles()),{appearance:"none",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${Ve(1)} solid ${a?e.fn.variant({variant:"filled",color:"red"}).background:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,width:l,height:l,borderRadius:e.fn.radius(t),padding:0,display:"block",margin:0,transition:`border-color ${r}ms ease, background-color ${r}ms ease`,cursor:e.cursorType,"&:checked":{backgroundColor:c.background,borderColor:c.background,[`& + .${$b("icon")}`]:{opacity:1,color:e.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[3],cursor:"not-allowed",pointerEvents:"none",[`& + .${$b("icon")}`]:{color:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[5]}}})}}),$bt=Object.defineProperty,Lbt=Object.defineProperties,Ubt=Object.getOwnPropertyDescriptors,bpe=Object.getOwnPropertySymbols,zbt=Object.prototype.hasOwnProperty,Hbt=Object.prototype.propertyIsEnumerable,xpe=(e,t,n)=>t in e?$bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vbt=(e,t)=>{for(var n in t||(t={}))zbt.call(t,n)&&xpe(e,n,t[n]);if(bpe)for(var n of bpe(t))Hbt.call(t,n)&&xpe(e,n,t[n]);return e},Qbt=(e,t)=>Lbt(e,Ubt(t));const I7={xs:Ve(16),sm:Ve(20),md:Ve(24),lg:Ve(30),xl:Ve(36)};var qbt=ln((e,{labelPosition:t},{size:n})=>({root:{},body:{display:"flex","&:has(input:disabled) label":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}},labelWrapper:Qbt(Vbt({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:n in I7?Ot({size:n,sizes:e.fontSizes}):void 0,lineHeight:n in I7?Ot({size:n,sizes:I7}):void 0,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,cursor:e.cursorType,order:t==="left"?1:2}),description:{marginTop:`calc(${e.spacing.xs} / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:`calc(${e.spacing.xs} / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm,"&:disabled, &[data-disabled]":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}}})),Gbt=Object.defineProperty,KP=Object.getOwnPropertySymbols,kMe=Object.prototype.hasOwnProperty,SMe=Object.prototype.propertyIsEnumerable,wpe=(e,t,n)=>t in e?Gbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wbt=(e,t)=>{for(var n in t||(t={}))kMe.call(t,n)&&wpe(e,n,t[n]);if(KP)for(var n of KP(t))SMe.call(t,n)&&wpe(e,n,t[n]);return e},Kbt=(e,t)=>{var n={};for(var r in e)kMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&KP)for(var r of KP(e))t.indexOf(r)<0&&SMe.call(e,r)&&(n[r]=e[r]);return n};const CMe=w.forwardRef((e,t)=>{var n=e,{__staticSelector:r,className:i,classNames:a,styles:o,unstyled:s,children:l,label:c,description:u,id:f,disabled:h,error:m,size:p,labelPosition:A,bodyElement:v="div",labelElement:y="label",variant:x}=n,k=Kbt(n,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant"]);const{classes:S,cx:C}=qbt({labelPosition:A},{name:r,styles:o,classNames:a,unstyled:s,variant:x,size:p});return L.createElement(Fn,Wbt({className:C(S.root,i),ref:t},k),L.createElement(Fn,{component:v,htmlFor:v==="label"?f:void 0,className:C(S.body)},l,L.createElement("div",{className:S.labelWrapper},c!=null&&L.createElement(Fn,{component:y,htmlFor:y==="label"?f:void 0,className:S.label,"data-disabled":h||void 0},c),u&&L.createElement(Ml.Description,{className:S.description},u),m&&m!=="boolean"&&L.createElement(Ml.Error,{className:S.error},m))))});CMe.displayName="@mantine/core/InlineInput";var Ybt=Object.defineProperty,YP=Object.getOwnPropertySymbols,_Me=Object.prototype.hasOwnProperty,NMe=Object.prototype.propertyIsEnumerable,kpe=(e,t,n)=>t in e?Ybt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c5=(e,t)=>{for(var n in t||(t={}))_Me.call(t,n)&&kpe(e,n,t[n]);if(YP)for(var n of YP(t))NMe.call(t,n)&&kpe(e,n,t[n]);return e},Xbt=(e,t)=>{var n={};for(var r in e)_Me.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&YP)for(var r of YP(e))t.indexOf(r)<0&&NMe.call(e,r)&&(n[r]=e[r]);return n};const Zbt={size:"sm",transitionDuration:100,icon:Tbt,labelPosition:"right"},g3=w.forwardRef((e,t)=>{const n=Qt("Checkbox",Zbt,e),{className:r,style:i,sx:a,checked:o,disabled:s,color:l,label:c,indeterminate:u,id:f,size:h,radius:m,wrapperProps:p,children:A,classNames:v,styles:y,transitionDuration:x,icon:k,unstyled:S,labelPosition:C,description:N,error:E,variant:D}=n,T=Xbt(n,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),P=_bt(),O=$x(f),{systemStyles:B,rest:M}=eC(T),{classes:$}=Rbt({radius:m,color:l,transitionDuration:x,labelPosition:C,error:!!E,indeterminate:u},{name:"Checkbox",classNames:v,styles:y,unstyled:S,variant:D,size:P?.size||h}),U=P?{checked:P.value.includes(M.value),onChange:P.onChange}:{};return L.createElement(CMe,c5(c5({className:r,sx:a,style:i,id:O,size:P?.size||h,labelPosition:C,label:c,description:N,error:E,disabled:s,__staticSelector:"Checkbox",classNames:v,styles:y,unstyled:S,"data-checked":U.checked||void 0,variant:D},B),p),L.createElement("div",{className:$.inner},L.createElement("input",c5(c5({id:O,ref:t,type:"checkbox",className:$.input,checked:o,disabled:s},M),U)),L.createElement(k,{indeterminate:u,className:$.icon})))});g3.displayName="@mantine/core/Checkbox";g3.Group=vMe;var Jbt=ln((e,{fluid:t,sizes:n},{size:r})=>({root:{paddingLeft:e.spacing.md,paddingRight:e.spacing.md,maxWidth:t?"100%":Ot({size:r,sizes:n}),marginLeft:"auto",marginRight:"auto"}})),ext=Object.defineProperty,XP=Object.getOwnPropertySymbols,EMe=Object.prototype.hasOwnProperty,FMe=Object.prototype.propertyIsEnumerable,Spe=(e,t,n)=>t in e?ext(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,txt=(e,t)=>{for(var n in t||(t={}))EMe.call(t,n)&&Spe(e,n,t[n]);if(XP)for(var n of XP(t))FMe.call(t,n)&&Spe(e,n,t[n]);return e},nxt=(e,t)=>{var n={};for(var r in e)EMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&XP)for(var r of XP(e))t.indexOf(r)<0&&FMe.call(e,r)&&(n[r]=e[r]);return n};const rxt={sizes:{xs:Ve(540),sm:Ve(720),md:Ve(960),lg:Ve(1140),xl:Ve(1320)}},lne=w.forwardRef((e,t)=>{const n=Qt("Container",rxt,e),{className:r,fluid:i,size:a,unstyled:o,sizes:s,variant:l}=n,c=nxt(n,["className","fluid","size","unstyled","sizes","variant"]),{classes:u,cx:f}=Jbt({fluid:i,sizes:s},{unstyled:o,name:"Container",variant:l,size:a});return L.createElement(Fn,txt({className:f(u.root,r),ref:t},c))});lne.displayName="@mantine/core/Container";const[ixt,axt]=Qf("Drawer component was not found in tree"),Cpe={xs:Ve(320),sm:Ve(380),md:Ve(440),lg:Ve(620),xl:Ve(780)};var oxt=ln((e,{position:t},{size:n})=>({header:{zIndex:1e3},content:{flex:t==="right"||t==="left"?`0 0 ${Ot({size:n,sizes:Cpe})}`:"0 0 100%",maxWidth:"100%",maxHeight:"100%",height:t==="right"||t==="left"?"100%":Ot({size:n,sizes:Cpe}),borderRadius:0,overflowY:"auto"},inner:{display:"flex",justifyContent:t==="right"?"flex-end":"flex-start",alignItems:t==="bottom"?"flex-end":"flex-start"}}));const[sxt,aC]=Qf("ModalBase component was not found in tree");var lxt=ln(()=>({close:{marginLeft:"auto",marginRight:0}})),cxt=Object.defineProperty,ZP=Object.getOwnPropertySymbols,DMe=Object.prototype.hasOwnProperty,TMe=Object.prototype.propertyIsEnumerable,_pe=(e,t,n)=>t in e?cxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uxt=(e,t)=>{for(var n in t||(t={}))DMe.call(t,n)&&_pe(e,n,t[n]);if(ZP)for(var n of ZP(t))TMe.call(t,n)&&_pe(e,n,t[n]);return e},dxt=(e,t)=>{var n={};for(var r in e)DMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ZP)for(var r of ZP(e))t.indexOf(r)<0&&TMe.call(e,r)&&(n[r]=e[r]);return n};const fxt={size:"sm"},hxt=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}CloseButton`,fxt,e),{className:i}=r,a=dxt(r,["className"]),{classes:o,cx:s}=lxt(null,n.stylesApi);return L.createElement(XF,uxt({className:s(o.close,i),ref:t,onClick:n.onClose},a))});var mxt=ln(()=>({overlay:{}})),pxt=Object.defineProperty,Axt=Object.defineProperties,gxt=Object.getOwnPropertyDescriptors,Npe=Object.getOwnPropertySymbols,vxt=Object.prototype.hasOwnProperty,yxt=Object.prototype.propertyIsEnumerable,Epe=(e,t,n)=>t in e?pxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bxt=(e,t)=>{for(var n in t||(t={}))vxt.call(t,n)&&Epe(e,n,t[n]);if(Npe)for(var n of Npe(t))yxt.call(t,n)&&Epe(e,n,t[n]);return e},xxt=(e,t)=>Axt(e,gxt(t)),wxt=ln((e,{color:t,opacity:n,blur:r,radius:i,gradient:a,fixed:o,zIndex:s})=>({root:xxt(bxt({},e.fn.cover(0)),{position:o?"fixed":"absolute",backgroundColor:a?void 0:e.fn.rgba(t,n),backgroundImage:a,backdropFilter:r?`blur(${Ve(r)})`:void 0,borderRadius:e.fn.radius(i),zIndex:s,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}})})),kxt=Object.defineProperty,JP=Object.getOwnPropertySymbols,OMe=Object.prototype.hasOwnProperty,BMe=Object.prototype.propertyIsEnumerable,Fpe=(e,t,n)=>t in e?kxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sxt=(e,t)=>{for(var n in t||(t={}))OMe.call(t,n)&&Fpe(e,n,t[n]);if(JP)for(var n of JP(t))BMe.call(t,n)&&Fpe(e,n,t[n]);return e},Cxt=(e,t)=>{var n={};for(var r in e)OMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&JP)for(var r of JP(e))t.indexOf(r)<0&&BMe.call(e,r)&&(n[r]=e[r]);return n};const _xt={opacity:.6,color:"#000",zIndex:$p("modal"),radius:0},IMe=w.forwardRef((e,t)=>{const n=Qt("Overlay",_xt,e),{variant:r,opacity:i,color:a,blur:o,gradient:s,zIndex:l,radius:c,children:u,className:f,classNames:h,styles:m,unstyled:p,center:A,fixed:v}=n,y=Cxt(n,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:x,cx:k}=wxt({color:a,opacity:i,blur:o,radius:c,gradient:s,fixed:v,zIndex:l},{name:"Overlay",classNames:h,styles:m,unstyled:p,variant:r});return L.createElement(Fn,Sxt({ref:t,className:k(x.root,f),"data-center":A||void 0},y),u)});IMe.displayName="@mantine/core/Overlay";const tm=IMe;var Nxt=Object.defineProperty,Ext=Object.defineProperties,Fxt=Object.getOwnPropertyDescriptors,e4=Object.getOwnPropertySymbols,jMe=Object.prototype.hasOwnProperty,PMe=Object.prototype.propertyIsEnumerable,Dpe=(e,t,n)=>t in e?Nxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M_=(e,t)=>{for(var n in t||(t={}))jMe.call(t,n)&&Dpe(e,n,t[n]);if(e4)for(var n of e4(t))PMe.call(t,n)&&Dpe(e,n,t[n]);return e},Dxt=(e,t)=>Ext(e,Fxt(t)),Txt=(e,t)=>{var n={};for(var r in e)jMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&e4)for(var r of e4(e))t.indexOf(r)<0&&PMe.call(e,r)&&(n[r]=e[r]);return n};const Oxt={},Bxt=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}Overlay`,Oxt,e),{onClick:i,transitionProps:a,style:o,className:s}=r,l=Txt(r,["onClick","transitionProps","style","className"]),{classes:c,cx:u}=mxt(null,n.stylesApi),f=h=>{i?.(h),n.closeOnClickOutside&&n.onClose()};return L.createElement(iC,Dxt(M_(M_({mounted:n.opened},n.transitionProps),a),{transition:"fade"}),h=>L.createElement(tm,M_({ref:t,onClick:f,fixed:!0,style:M_(M_({},o),h),className:u(c.overlay,s),zIndex:n.zIndex},l)))});var Ixt=ln((e,{zIndex:t})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:t,pointerEvents:"none"},content:{pointerEvents:"all"}})),jxt=Object.defineProperty,t4=Object.getOwnPropertySymbols,MMe=Object.prototype.hasOwnProperty,RMe=Object.prototype.propertyIsEnumerable,Tpe=(e,t,n)=>t in e?jxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R_=(e,t)=>{for(var n in t||(t={}))MMe.call(t,n)&&Tpe(e,n,t[n]);if(t4)for(var n of t4(t))RMe.call(t,n)&&Tpe(e,n,t[n]);return e},Pxt=(e,t)=>{var n={};for(var r in e)MMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&t4)for(var r of t4(e))t.indexOf(r)<0&&RMe.call(e,r)&&(n[r]=e[r]);return n};const Mxt={},Rxt=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}Content`,Mxt,e),{className:i,transitionProps:a,style:o,onKeyDown:s}=r,l=Pxt(r,["className","transitionProps","style","onKeyDown"]),{classes:c,cx:u}=Ixt({zIndex:n.zIndex},n.stylesApi),f=h=>{var m;((m=h.target)==null?void 0:m.getAttribute("data-mantine-stop-propagation"))!=="true"&&h.key==="Escape"&&n.closeOnEscape&&n.onClose(),s?.(h)};return L.createElement(iC,R_(R_({mounted:n.opened,transition:"pop"},n.transitionProps),a),h=>L.createElement("div",{className:u(c.inner)},L.createElement(tne,{active:n.opened&&n.trapFocus},L.createElement(xg,R_({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":n.bodyMounted?n.getBodyId():void 0,"aria-labelledby":n.titleMounted?n.getTitleId():void 0,onKeyDown:f,ref:t,className:u(c.content,i),style:R_(R_({},o),h),shadow:n.shadow},l),l.children))))});var $xt=ln((e,{padding:t})=>{const n=Ot({size:t,sizes:e.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:n,paddingRight:`calc(${n} - ${Ve(5)})`,position:"sticky",top:0,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,zIndex:1e3}}}),Lxt=Object.defineProperty,n4=Object.getOwnPropertySymbols,$Me=Object.prototype.hasOwnProperty,LMe=Object.prototype.propertyIsEnumerable,Ope=(e,t,n)=>t in e?Lxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uxt=(e,t)=>{for(var n in t||(t={}))$Me.call(t,n)&&Ope(e,n,t[n]);if(n4)for(var n of n4(t))LMe.call(t,n)&&Ope(e,n,t[n]);return e},zxt=(e,t)=>{var n={};for(var r in e)$Me.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&n4)for(var r of n4(e))t.indexOf(r)<0&&LMe.call(e,r)&&(n[r]=e[r]);return n};const Hxt={},Vxt=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}Header`,Hxt,e),{className:i}=r,a=zxt(r,["className"]),{classes:o,cx:s}=$xt({padding:n.padding},n.stylesApi);return L.createElement(Fn,Uxt({ref:t,className:s(o.header,i)},a))});var Qxt=ln(e=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:e.fontSizes.md}})),qxt=Object.defineProperty,r4=Object.getOwnPropertySymbols,UMe=Object.prototype.hasOwnProperty,zMe=Object.prototype.propertyIsEnumerable,Bpe=(e,t,n)=>t in e?qxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gxt=(e,t)=>{for(var n in t||(t={}))UMe.call(t,n)&&Bpe(e,n,t[n]);if(r4)for(var n of r4(t))zMe.call(t,n)&&Bpe(e,n,t[n]);return e},Wxt=(e,t)=>{var n={};for(var r in e)UMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&r4)for(var r of r4(e))t.indexOf(r)<0&&zMe.call(e,r)&&(n[r]=e[r]);return n};const Kxt={},Yxt=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}Title`,Kxt,e),{className:i}=r,a=Wxt(r,["className"]),{classes:o,cx:s}=Qxt(null,n.stylesApi);return w.useEffect(()=>(n.setTitleMounted(!0),()=>n.setTitleMounted(!1)),[]),L.createElement(Fn,Gxt({component:"h2",id:n.getTitleId(),className:s(o.title,i),ref:t},a))});var Xxt=ln((e,{padding:t})=>({body:{padding:Ot({size:t,sizes:e.spacing}),"&:not(:only-child)":{paddingTop:0}}})),Zxt=Object.defineProperty,i4=Object.getOwnPropertySymbols,HMe=Object.prototype.hasOwnProperty,VMe=Object.prototype.propertyIsEnumerable,Ipe=(e,t,n)=>t in e?Zxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jxt=(e,t)=>{for(var n in t||(t={}))HMe.call(t,n)&&Ipe(e,n,t[n]);if(i4)for(var n of i4(t))VMe.call(t,n)&&Ipe(e,n,t[n]);return e},e1t=(e,t)=>{var n={};for(var r in e)HMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&i4)for(var r of i4(e))t.indexOf(r)<0&&VMe.call(e,r)&&(n[r]=e[r]);return n};const t1t={},n1t=w.forwardRef((e,t)=>{const n=aC(),r=Qt(`${n.__staticSelector}Body`,t1t,e),{className:i}=r,a=e1t(r,["className"]),{classes:o,cx:s}=Xxt({padding:n.padding},n.stylesApi);return w.useEffect(()=>(n.setBodyMounted(!0),()=>n.setBodyMounted(!1)),[]),L.createElement(Fn,Jxt({id:n.getBodyId(),className:s(o.body,i),ref:t},a))});function r1t({children:e}){return L.createElement(L.Fragment,null,e)}function i1t({opened:e,transitionDuration:t}){const[n,r]=w.useState(e),i=w.useRef(),o=i3()?0:t;return w.useEffect(()=>(e?(r(!0),window.clearTimeout(i.current)):o===0?r(!1):i.current=window.setTimeout(()=>r(!1),o),()=>window.clearTimeout(i.current)),[e,o]),n}var a1t=ln(()=>({root:{}})),o1t=Object.defineProperty,s1t=Object.defineProperties,l1t=Object.getOwnPropertyDescriptors,a4=Object.getOwnPropertySymbols,QMe=Object.prototype.hasOwnProperty,qMe=Object.prototype.propertyIsEnumerable,jpe=(e,t,n)=>t in e?o1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j7=(e,t)=>{for(var n in t||(t={}))QMe.call(t,n)&&jpe(e,n,t[n]);if(a4)for(var n of a4(t))qMe.call(t,n)&&jpe(e,n,t[n]);return e},Ppe=(e,t)=>s1t(e,l1t(t)),c1t=(e,t)=>{var n={};for(var r in e)QMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&a4)for(var r of a4(e))t.indexOf(r)<0&&qMe.call(e,r)&&(n[r]=e[r]);return n};const tD={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:$p("modal"),padding:"md",size:"md",shadow:"xl"};function yi(e){const t=Qt("ModalBase",tD,e),{opened:n,onClose:r,children:i,closeOnClickOutside:a,__staticSelector:o,transitionProps:s,withinPortal:l,portalProps:c,keepMounted:u,target:f,zIndex:h,lockScroll:m,trapFocus:p,closeOnEscape:A,returnFocus:v,padding:y,shadow:x,id:k,size:S,variant:C,classNames:N,unstyled:E,styles:D,className:T}=t,P=c1t(t,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:O,cx:B}=a1t(null,{name:o,classNames:N,styles:D,unstyled:E,variant:C,size:S}),M=$x(k),[$,U]=w.useState(!1),[j,V]=w.useState(!1),Q=typeof s?.duration=="number"?s?.duration:200,X=i1t({opened:n,transitionDuration:Q});return CY("keydown",Z=>{!p&&Z.key==="Escape"&&A&&r()}),Fje({opened:n,shouldReturnFocus:p&&v}),L.createElement(tC,Ppe(j7({},c),{withinPortal:l,target:f}),L.createElement(sxt,{value:{__staticSelector:o,opened:n,onClose:r,closeOnClickOutside:a,transitionProps:Ppe(j7({},s),{duration:Q,keepMounted:u}),zIndex:h,padding:y,id:M,getTitleId:()=>`${M}-title`,getBodyId:()=>`${M}-body`,titleMounted:$,bodyMounted:j,setTitleMounted:U,setBodyMounted:V,trapFocus:p,closeOnEscape:A,shadow:x,stylesApi:{name:o,size:S,variant:C,classNames:N,styles:D,unstyled:E}}},L.createElement(KS,{enabled:X&&m},L.createElement(Fn,j7({className:B(O.root,T)},P),i))))}yi.CloseButton=hxt;yi.Overlay=Bxt;yi.Content=Rxt;yi.Header=Vxt;yi.Title=Yxt;yi.Body=n1t;yi.NativeScrollArea=r1t;var u1t=Object.defineProperty,d1t=Object.defineProperties,f1t=Object.getOwnPropertyDescriptors,o4=Object.getOwnPropertySymbols,GMe=Object.prototype.hasOwnProperty,WMe=Object.prototype.propertyIsEnumerable,Mpe=(e,t,n)=>t in e?u1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KI=(e,t)=>{for(var n in t||(t={}))GMe.call(t,n)&&Mpe(e,n,t[n]);if(o4)for(var n of o4(t))WMe.call(t,n)&&Mpe(e,n,t[n]);return e},KMe=(e,t)=>d1t(e,f1t(t)),h1t=(e,t)=>{var n={};for(var r in e)GMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&o4)for(var r of o4(e))t.indexOf(r)<0&&WMe.call(e,r)&&(n[r]=e[r]);return n};const m1t={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},p1t={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},A1t=KMe(KI({},tD),{position:"left"});function YMe(e){const t=Qt("DrawerRoot",A1t,e),{classNames:n,variant:r,size:i,scrollAreaComponent:a,position:o,transitionProps:s}=t,l=h1t(t,["classNames","variant","size","scrollAreaComponent","position","transitionProps"]),{classes:c,cx:u,theme:f}=oxt({position:o},{name:"Drawer",variant:r,size:i}),h=(f.dir==="rtl"?p1t:m1t)[o];return L.createElement(ixt,{value:{scrollAreaComponent:a}},L.createElement(yi,KI({__staticSelector:"Drawer",size:i,variant:r,transitionProps:KI({transition:h,duration:200},s),classNames:KMe(KI({},n),{content:u(c.content,n?.content),inner:u(c.inner,n?.inner)})},l)))}var g1t=Object.defineProperty,s4=Object.getOwnPropertySymbols,XMe=Object.prototype.hasOwnProperty,ZMe=Object.prototype.propertyIsEnumerable,Rpe=(e,t,n)=>t in e?g1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v1t=(e,t)=>{for(var n in t||(t={}))XMe.call(t,n)&&Rpe(e,n,t[n]);if(s4)for(var n of s4(t))ZMe.call(t,n)&&Rpe(e,n,t[n]);return e},y1t=(e,t)=>{var n={};for(var r in e)XMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&s4)for(var r of s4(e))t.indexOf(r)<0&&ZMe.call(e,r)&&(n[r]=e[r]);return n};const b1t={shadow:"xl"},JMe=w.forwardRef((e,t)=>{const n=Qt("ModalContent",b1t,e),{children:r,scrollAreaComponent:i}=n,a=y1t(n,["children","scrollAreaComponent"]),o=axt(),s=i||o.scrollAreaComponent||yi.NativeScrollArea;return L.createElement(yi.Content,v1t({ref:t,radius:0},a),L.createElement(s,{style:{height:"100vh"}},r))});var x1t=Object.defineProperty,w1t=Object.defineProperties,k1t=Object.getOwnPropertyDescriptors,l4=Object.getOwnPropertySymbols,eRe=Object.prototype.hasOwnProperty,tRe=Object.prototype.propertyIsEnumerable,$pe=(e,t,n)=>t in e?x1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YI=(e,t)=>{for(var n in t||(t={}))eRe.call(t,n)&&$pe(e,n,t[n]);if(l4)for(var n of l4(t))tRe.call(t,n)&&$pe(e,n,t[n]);return e},S1t=(e,t)=>w1t(e,k1t(t)),C1t=(e,t)=>{var n={};for(var r in e)eRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&l4)for(var r of l4(e))t.indexOf(r)<0&&tRe.call(e,r)&&(n[r]=e[r]);return n};const _1t=S1t(YI({},tD),{withOverlay:!0,withCloseButton:!0});function nm(e){const t=Qt("Drawer",_1t,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=C1t(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return L.createElement(YMe,YI({},l),r&&L.createElement(yi.Overlay,YI({},i)),L.createElement(JMe,null,c&&L.createElement(yi.Header,null,n&&L.createElement(yi.Title,null,n),a&&L.createElement(yi.CloseButton,YI({},o))),L.createElement(yi.Body,null,s)))}nm.Root=YMe;nm.CloseButton=yi.CloseButton;nm.Overlay=yi.Overlay;nm.Content=JMe;nm.Header=yi.Header;nm.Title=yi.Title;nm.Body=yi.Body;nm.NativeScrollArea=yi.NativeScrollArea;var N1t=Object.defineProperty,c4=Object.getOwnPropertySymbols,nRe=Object.prototype.hasOwnProperty,rRe=Object.prototype.propertyIsEnumerable,Lpe=(e,t,n)=>t in e?N1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Upe=(e,t)=>{for(var n in t||(t={}))nRe.call(t,n)&&Lpe(e,n,t[n]);if(c4)for(var n of c4(t))rRe.call(t,n)&&Lpe(e,n,t[n]);return e},E1t=(e,t)=>{var n={};for(var r in e)nRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&c4)for(var r of c4(e))t.indexOf(r)<0&&rRe.call(e,r)&&(n[r]=e[r]);return n};const F1t={multiple:!1},iRe=w.forwardRef((e,t)=>{const n=Qt("FileButton",F1t,e),{onChange:r,children:i,multiple:a,accept:o,name:s,form:l,resetRef:c,disabled:u,capture:f,inputProps:h}=n,m=E1t(n,["onChange","children","multiple","accept","name","form","resetRef","disabled","capture","inputProps"]),p=w.useRef(),A=()=>{!u&&p.current.click()},v=x=>{r(a?Array.from(x.currentTarget.files):x.currentTarget.files[0]||null)};return r3(c,()=>{p.current.value=""}),L.createElement(L.Fragment,null,i(Upe({onClick:A},m)),L.createElement("input",Upe({style:{display:"none"},type:"file",accept:o,multiple:a,onChange:v,ref:Lp(t,p),name:s,form:l,capture:f},h)))});iRe.displayName="@mantine/core/FileButton";var D1t=ln(()=>({placeholder:{},input:{cursor:"pointer"}})),T1t=Object.defineProperty,O1t=Object.defineProperties,B1t=Object.getOwnPropertyDescriptors,u4=Object.getOwnPropertySymbols,aRe=Object.prototype.hasOwnProperty,oRe=Object.prototype.propertyIsEnumerable,zpe=(e,t,n)=>t in e?T1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tw=(e,t)=>{for(var n in t||(t={}))aRe.call(t,n)&&zpe(e,n,t[n]);if(u4)for(var n of u4(t))oRe.call(t,n)&&zpe(e,n,t[n]);return e},u5=(e,t)=>O1t(e,B1t(t)),I1t=(e,t)=>{var n={};for(var r in e)aRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&u4)for(var r of u4(e))t.indexOf(r)<0&&oRe.call(e,r)&&(n[r]=e[r]);return n};const j1t=({value:e})=>L.createElement(er,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Array.isArray(e)?e.map(t=>t.name).join(", "):e?.name),P1t={size:"sm",valueComponent:j1t},sRe=w.forwardRef((e,t)=>{const n=A3("FileInput",P1t,e),{inputProps:r,wrapperProps:i,placeholder:a,value:o,defaultValue:s,onChange:l,multiple:c,accept:u,name:f,form:h,classNames:m,styles:p,unstyled:A,valueComponent:v,rightSection:y,clearable:x,clearButtonProps:k,readOnly:S,capture:C,fileInputProps:N}=n,E=I1t(n,["inputProps","wrapperProps","placeholder","value","defaultValue","onChange","multiple","accept","name","form","classNames","styles","unstyled","valueComponent","rightSection","clearable","clearButtonProps","readOnly","capture","fileInputProps"]),D=w.useRef(),{classes:T,cx:P}=D1t(null,{name:"FileInput",classNames:m,styles:p,unstyled:A}),[O,B]=$c({value:o,defaultValue:s,onChange:l,finalValue:c?[]:null}),M=Array.isArray(O)?O.length!==0:O!==null,$=y||(x&&M&&!S?L.createElement(XF,u5(tw({},k),{variant:"transparent",onClick:()=>B(c?[]:null),size:r.size,unstyled:A})):null);return w.useEffect(()=>{(Array.isArray(O)&&O.length===0||O===null)&&D.current()},[O]),L.createElement(Ml.Wrapper,u5(tw({},i),{__staticSelector:"FileInput"}),L.createElement(iRe,{onChange:B,multiple:c,accept:u,name:f,form:h,resetRef:D,disabled:S,capture:C,inputProps:N},U=>L.createElement(Ml,u5(tw(tw(tw({multiline:!0},U),r),E),{component:"button",type:"button",ref:t,__staticSelector:"FileInput",rightSection:$,classNames:u5(tw({},m),{input:P(T.input,m?.input)})}),M?L.createElement(v,{value:O}):L.createElement(Ml.Placeholder,{className:T.placeholder},a))))});sRe.displayName="@mantine/core/FileInput";const M1t=sRe,[R1t,$1t]=Qf("Grid component was not found in tree");var L1t=Object.defineProperty,Hpe=Object.getOwnPropertySymbols,U1t=Object.prototype.hasOwnProperty,z1t=Object.prototype.propertyIsEnumerable,Vpe=(e,t,n)=>t in e?L1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H1t=(e,t)=>{for(var n in t||(t={}))U1t.call(t,n)&&Vpe(e,n,t[n]);if(Hpe)for(var n of Hpe(t))z1t.call(t,n)&&Vpe(e,n,t[n]);return e};const cne=(e,t)=>e==="content"?"auto":e==="auto"?"0rem":e?`${100/(t/e)}%`:void 0,lRe=(e,t,n)=>n||e==="auto"||e==="content"?"unset":cne(e,t),cRe=(e,t)=>{if(e)return e==="auto"||t?1:0},uRe=(e,t)=>e===0?0:e?`${100/(t/e)}%`:void 0,dRe=(e,t)=>typeof e<"u"?`calc(${Ot({size:e,sizes:t.spacing})} / 2)`:void 0;function V1t({sizes:e,offsets:t,orders:n,theme:r,columns:i,gutters:a,grow:o}){return dje.reduce((s,l)=>(s[`@media (min-width: ${XS(r.breakpoints[l])})`]={order:n[l],flexBasis:cne(e[l],i),padding:dRe(a[l],r),flexShrink:0,width:e[l]==="content"?"auto":void 0,maxWidth:lRe(e[l],i,o),marginLeft:uRe(t[l],i),flexGrow:cRe(e[l],o)},s),{})}var Q1t=ln((e,{gutter:t,gutterXs:n,gutterSm:r,gutterMd:i,gutterLg:a,gutterXl:o,grow:s,offset:l,offsetXs:c,offsetSm:u,offsetMd:f,offsetLg:h,offsetXl:m,columns:p,span:A,xs:v,sm:y,md:x,lg:k,xl:S,order:C,orderXs:N,orderSm:E,orderMd:D,orderLg:T,orderXl:P})=>({col:H1t({boxSizing:"border-box",flexGrow:cRe(A,s),order:C,padding:dRe(t,e),marginLeft:uRe(l,p),flexBasis:cne(A,p),flexShrink:0,width:A==="content"?"auto":void 0,maxWidth:lRe(A,p,s)},V1t({sizes:{xs:v,sm:y,md:x,lg:k,xl:S},offsets:{xs:c,sm:u,md:f,lg:h,xl:m},orders:{xs:N,sm:E,md:D,lg:T,xl:P},gutters:{xs:n,sm:r,md:i,lg:a,xl:o},theme:e,columns:p,grow:s}))})),q1t=Object.defineProperty,d4=Object.getOwnPropertySymbols,fRe=Object.prototype.hasOwnProperty,hRe=Object.prototype.propertyIsEnumerable,Qpe=(e,t,n)=>t in e?q1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G1t=(e,t)=>{for(var n in t||(t={}))fRe.call(t,n)&&Qpe(e,n,t[n]);if(d4)for(var n of d4(t))hRe.call(t,n)&&Qpe(e,n,t[n]);return e},W1t=(e,t)=>{var n={};for(var r in e)fRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&d4)for(var r of d4(e))t.indexOf(r)<0&&hRe.call(e,r)&&(n[r]=e[r]);return n};const K1t={};function Y1t(e){return e==="auto"||e==="content"?!0:typeof e=="number"&&e>0&&e%1===0}const mRe=w.forwardRef((e,t)=>{const n=Qt("GridCol",K1t,e),{children:r,span:i,offset:a,offsetXs:o,offsetSm:s,offsetMd:l,offsetLg:c,offsetXl:u,xs:f,sm:h,md:m,lg:p,xl:A,order:v,orderXs:y,orderSm:x,orderMd:k,orderLg:S,orderXl:C,className:N,unstyled:E,variant:D}=n,T=W1t(n,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","unstyled","variant"]),P=$1t(),O=i||P.columns,{classes:B,cx:M}=Q1t({gutter:P.gutter,gutterXs:P.gutterXs,gutterSm:P.gutterSm,gutterMd:P.gutterMd,gutterLg:P.gutterLg,gutterXl:P.gutterXl,offset:a,offsetXs:o,offsetSm:s,offsetMd:l,offsetLg:c,offsetXl:u,xs:f,sm:h,md:m,lg:p,xl:A,order:v,orderXs:y,orderSm:x,orderMd:k,orderLg:S,orderXl:C,grow:P.grow,columns:P.columns,span:O},{unstyled:E,name:"Grid",variant:D});return!Y1t(O)||O>P.columns?null:L.createElement(Fn,G1t({className:M(B.col,N),ref:t},T),r)});mRe.displayName="@mantine/core/Col";var X1t=Object.defineProperty,qpe=Object.getOwnPropertySymbols,Z1t=Object.prototype.hasOwnProperty,J1t=Object.prototype.propertyIsEnumerable,Gpe=(e,t,n)=>t in e?X1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ewt=(e,t)=>{for(var n in t||(t={}))Z1t.call(t,n)&&Gpe(e,n,t[n]);if(qpe)for(var n of qpe(t))J1t.call(t,n)&&Gpe(e,n,t[n]);return e};function twt(e,t){return dje.reduce((n,r)=>(typeof e[r]<"u"&&(n[`@media (min-width: ${t.breakpoints[r]})`]={margin:`calc(-${Ot({size:e[r],sizes:t.spacing})} / 2)`}),n),{})}var nwt=ln((e,{justify:t,align:n,gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l})=>({root:ewt({margin:`calc(-${Ot({size:r,sizes:e.spacing})} / 2)`,display:"flex",flexWrap:"wrap",justifyContent:t,alignItems:n},twt({xs:i,sm:a,md:o,lg:s,xl:l},e))})),rwt=Object.defineProperty,f4=Object.getOwnPropertySymbols,pRe=Object.prototype.hasOwnProperty,ARe=Object.prototype.propertyIsEnumerable,Wpe=(e,t,n)=>t in e?rwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iwt=(e,t)=>{for(var n in t||(t={}))pRe.call(t,n)&&Wpe(e,n,t[n]);if(f4)for(var n of f4(t))ARe.call(t,n)&&Wpe(e,n,t[n]);return e},awt=(e,t)=>{var n={};for(var r in e)pRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&f4)for(var r of f4(e))t.indexOf(r)<0&&ARe.call(e,r)&&(n[r]=e[r]);return n};const owt={gutter:"md",justify:"flex-start",align:"stretch",columns:12},Xo=w.forwardRef((e,t)=>{const n=Qt("Grid",owt,e),{gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l,children:c,grow:u,justify:f,align:h,columns:m,className:p,unstyled:A,variant:v}=n,y=awt(n,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","justify","align","columns","className","unstyled","variant"]),{classes:x,cx:k}=nwt({gutter:r,justify:f,align:h,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l},{unstyled:A,name:"Grid",variant:v});return L.createElement(R1t,{value:{gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l,grow:u,columns:m}},L.createElement(Fn,iwt({className:k(x.root,p),ref:t},y),c))});Xo.Col=mRe;Xo.displayName="@mantine/core/Grid";function swt(e){return w.Children.toArray(e).filter(Boolean)}const lwt={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var cwt=ln((e,{spacing:t,position:n,noWrap:r,grow:i,align:a,count:o})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:a||"center",flexWrap:r?"nowrap":"wrap",justifyContent:lwt[n],gap:Ot({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:i?`calc(${100/o}% - (${Ve(Ot({size:t,sizes:e.spacing}))} - ${Ot({size:t,sizes:e.spacing})} / ${o}))`:void 0,flexGrow:i?1:0}}})),uwt=Object.defineProperty,h4=Object.getOwnPropertySymbols,gRe=Object.prototype.hasOwnProperty,vRe=Object.prototype.propertyIsEnumerable,Kpe=(e,t,n)=>t in e?uwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dwt=(e,t)=>{for(var n in t||(t={}))gRe.call(t,n)&&Kpe(e,n,t[n]);if(h4)for(var n of h4(t))vRe.call(t,n)&&Kpe(e,n,t[n]);return e},fwt=(e,t)=>{var n={};for(var r in e)gRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&h4)for(var r of h4(e))t.indexOf(r)<0&&vRe.call(e,r)&&(n[r]=e[r]);return n};const hwt={position:"left",spacing:"md"},Wk=w.forwardRef((e,t)=>{const n=Qt("Group",hwt,e),{className:r,position:i,align:a,children:o,noWrap:s,grow:l,spacing:c,unstyled:u,variant:f}=n,h=fwt(n,["className","position","align","children","noWrap","grow","spacing","unstyled","variant"]),m=swt(o),{classes:p,cx:A}=cwt({align:a,grow:l,noWrap:s,spacing:c,position:i,count:m.length},{unstyled:u,name:"Group",variant:f});return L.createElement(Fn,dwt({className:A(p.root,r),ref:t},h),m)});Wk.displayName="@mantine/core/Group";var mwt=ln((e,{color:t})=>({root:{backgroundColor:e.fn.themeColor(t,e.colorScheme==="dark"?5:2),color:e.colorScheme==="dark"?e.colors.dark[9]:"inherit"}})),pwt=Object.defineProperty,m4=Object.getOwnPropertySymbols,yRe=Object.prototype.hasOwnProperty,bRe=Object.prototype.propertyIsEnumerable,Ype=(e,t,n)=>t in e?pwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Awt=(e,t)=>{for(var n in t||(t={}))yRe.call(t,n)&&Ype(e,n,t[n]);if(m4)for(var n of m4(t))bRe.call(t,n)&&Ype(e,n,t[n]);return e},gwt=(e,t)=>{var n={};for(var r in e)yRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&m4)for(var r of m4(e))t.indexOf(r)<0&&bRe.call(e,r)&&(n[r]=e[r]);return n};const vwt={color:"yellow"},gy=w.forwardRef((e,t)=>{const n=Qt("Mark",vwt,e),{color:r,className:i,unstyled:a,variant:o}=n,s=gwt(n,["color","className","unstyled","variant"]),{classes:l,cx:c}=mwt({color:r},{unstyled:a,name:"Mark",variant:o});return L.createElement(Fn,Awt({component:"mark",ref:t,className:c(l.root,i)},s))});gy.displayName="@mantine/core/Mark";function ywt({open:e,close:t,openDelay:n,closeDelay:r}){const i=w.useRef(-1),a=w.useRef(-1),o=()=>{window.clearTimeout(i.current),window.clearTimeout(a.current)},s=()=>{o(),n===0?e():i.current=window.setTimeout(e,n)},l=()=>{o(),r===0?t():a.current=window.setTimeout(t,r)};return w.useEffect(()=>o,[]),{openDropdown:s,closeDropdown:l}}var bwt=Object.defineProperty,p4=Object.getOwnPropertySymbols,xRe=Object.prototype.hasOwnProperty,wRe=Object.prototype.propertyIsEnumerable,Xpe=(e,t,n)=>t in e?bwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zpe=(e,t)=>{for(var n in t||(t={}))xRe.call(t,n)&&Xpe(e,n,t[n]);if(p4)for(var n of p4(t))wRe.call(t,n)&&Xpe(e,n,t[n]);return e},xwt=(e,t)=>{var n={};for(var r in e)xRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&p4)for(var r of p4(e))t.indexOf(r)<0&&wRe.call(e,r)&&(n[r]=e[r]);return n};function wwt(e){const t=e,{width:n,height:r,style:i}=t,a=xwt(t,["width","height","style"]);return L.createElement("svg",Zpe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Zpe({width:n,height:r},i)},a),L.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var kwt=Object.defineProperty,Swt=Object.defineProperties,Cwt=Object.getOwnPropertyDescriptors,Jpe=Object.getOwnPropertySymbols,_wt=Object.prototype.hasOwnProperty,Nwt=Object.prototype.propertyIsEnumerable,eAe=(e,t,n)=>t in e?kwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tAe=(e,t)=>{for(var n in t||(t={}))_wt.call(t,n)&&eAe(e,n,t[n]);if(Jpe)for(var n of Jpe(t))Nwt.call(t,n)&&eAe(e,n,t[n]);return e},nAe=(e,t)=>Swt(e,Cwt(t)),Ewt=ln((e,{radius:t})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:nAe(tAe({},e.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:e.fn.radius(t)}),caption:{color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[7],marginTop:e.spacing.xs},placeholder:nAe(tAe({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.colors.gray[0],borderRadius:e.fn.radius(t)})})),Fwt=Object.defineProperty,Dwt=Object.defineProperties,Twt=Object.getOwnPropertyDescriptors,A4=Object.getOwnPropertySymbols,kRe=Object.prototype.hasOwnProperty,SRe=Object.prototype.propertyIsEnumerable,rAe=(e,t,n)=>t in e?Fwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$_=(e,t)=>{for(var n in t||(t={}))kRe.call(t,n)&&rAe(e,n,t[n]);if(A4)for(var n of A4(t))SRe.call(t,n)&&rAe(e,n,t[n]);return e},Owt=(e,t)=>Dwt(e,Twt(t)),Bwt=(e,t)=>{var n={};for(var r in e)kRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&A4)for(var r of A4(e))t.indexOf(r)<0&&SRe.call(e,r)&&(n[r]=e[r]);return n};const Iwt={fit:"cover",width:"100%",height:"auto",radius:0},oC=w.forwardRef((e,t)=>{const n=Qt("Image",Iwt,e),{className:r,alt:i,src:a,fit:o,width:s,height:l,radius:c,imageProps:u,withPlaceholder:f,placeholder:h,imageRef:m,classNames:p,styles:A,caption:v,unstyled:y,style:x,variant:k}=n,S=Bwt(n,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:C,cx:N}=Ewt({radius:c},{classNames:p,styles:A,unstyled:y,name:"Image",variant:k}),[E,D]=w.useState(!a),T=f&&E;return Pl(()=>{D(!a)},[a]),L.createElement(Fn,$_({className:N(C.root,r),style:$_({width:Ve(s)},x),ref:t},S),L.createElement("figure",{className:C.figure},L.createElement("div",{className:C.imageWrapper},L.createElement("img",Owt($_({src:a,alt:i,ref:m},u),{className:N(C.image,u?.className),onError:P=>{D(!0),typeof u?.onError=="function"&&u.onError(P)},style:$_($_({objectFit:o,width:Ve(s),height:Ve(l)},T&&{overflow:"hidden"}),u?.style)})),T&&L.createElement("div",{className:C.placeholder,title:i},h||L.createElement("div",null,L.createElement(wwt,{width:Ve(40),height:Ve(40)})))),!!v&&L.createElement(er,{component:"figcaption",size:"sm",align:"center",className:C.caption},v)))});oC.displayName="@mantine/core/Image";var jwt=Object.defineProperty,Pwt=Object.defineProperties,Mwt=Object.getOwnPropertyDescriptors,iAe=Object.getOwnPropertySymbols,Rwt=Object.prototype.hasOwnProperty,$wt=Object.prototype.propertyIsEnumerable,aAe=(e,t,n)=>t in e?jwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oAe=(e,t)=>{for(var n in t||(t={}))Rwt.call(t,n)&&aAe(e,n,t[n]);if(iAe)for(var n of iAe(t))$wt.call(t,n)&&aAe(e,n,t[n]);return e},sAe=(e,t)=>Pwt(e,Mwt(t));const Lwt=e=>Rx({from:{boxShadow:`0 0 ${Ve(.5)} 0 ${e}`,opacity:.6},to:{boxShadow:`0 0 ${Ve(.5)} ${Ve(4.4)} ${e}`,opacity:0}});function lAe(e,t=0){const n={},[r,i]=e.split("-");let a="",o="";return r==="top"&&(n.top=t,o="-50%"),r==="middle"&&(n.top="50%",o="-50%"),r==="bottom"&&(n.bottom=t,o="50%"),i==="start"&&(n.left=t,a="-50%"),i==="center"&&(n.left="50%",a="-50%"),i==="end"&&(n.right=t,a="50%"),n.transform=`translate(${a}, ${o})`,n}var Uwt=ln((e,{radius:t,color:n,position:r,offset:i,inline:a,withBorder:o,withLabel:s,zIndex:l},{size:c})=>{const{background:u}=e.fn.variant({variant:"filled",primaryFallback:!1,color:n||e.primaryColor}),f=Ve(c);return{root:{position:"relative",display:a?"inline-block":"block"},indicator:sAe(oAe({},lAe(r,i)),{zIndex:l,position:"absolute",[s?"minWidth":"width"]:f,height:f,display:"flex",justifyContent:"center",alignItems:"center",fontSize:e.fontSizes.xs,paddingLeft:s?`calc(${e.spacing.xs} / 2)`:0,paddingRight:s?`calc(${e.spacing.xs} / 2)`:0,borderRadius:e.fn.radius(t),backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:n||e.primaryColor}).background,border:o?`${Ve(2)} solid ${e.colorScheme==="dark"?e.colors.dark[7]:e.white}`:void 0,color:e.white,whiteSpace:"nowrap"}),processing:{animation:`${Lwt(u)} 1000ms linear infinite`},common:sAe(oAe({},lAe(r,i)),{position:"absolute",[s?"minWidth":"width"]:f,height:f,borderRadius:e.fn.radius(t)})}}),zwt=Object.defineProperty,g4=Object.getOwnPropertySymbols,CRe=Object.prototype.hasOwnProperty,_Re=Object.prototype.propertyIsEnumerable,cAe=(e,t,n)=>t in e?zwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hwt=(e,t)=>{for(var n in t||(t={}))CRe.call(t,n)&&cAe(e,n,t[n]);if(g4)for(var n of g4(t))_Re.call(t,n)&&cAe(e,n,t[n]);return e},Vwt=(e,t)=>{var n={};for(var r in e)CRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&g4)for(var r of g4(e))t.indexOf(r)<0&&_Re.call(e,r)&&(n[r]=e[r]);return n};const Qwt={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1,size:10,radius:1e3,zIndex:$p("app")},ya=w.forwardRef((e,t)=>{const n=Qt("Indicator",Qwt,e),{children:r,position:i,offset:a,size:o,radius:s,inline:l,withBorder:c,className:u,color:f,styles:h,label:m,classNames:p,disabled:A,zIndex:v,unstyled:y,processing:x,variant:k}=n,S=Vwt(n,["children","position","offset","size","radius","inline","withBorder","className","color","styles","label","classNames","disabled","zIndex","unstyled","processing","variant"]),{classes:C,cx:N}=Uwt({position:i,offset:a,radius:s,inline:l,color:f,withBorder:c,zIndex:v,withLabel:!!m},{name:"Indicator",classNames:p,styles:h,unstyled:y,variant:k,size:o});return L.createElement(Fn,Hwt({ref:t,className:N(C.root,u)},S),!A&&L.createElement(L.Fragment,null,L.createElement("div",{className:N(C.indicator,C.common)},m),x&&L.createElement("div",{className:N(C.processing,C.common)})),r)});ya.displayName="@mantine/core/Indicator";function ro(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}const[qwt,Gwt]=Qf("List component was not found in tree");var Wwt=ln((e,{spacing:t,center:n})=>({itemWrapper:{ref:$b("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:n?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:Ot({size:t,sizes:e.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${$b("itemWrapper")}`]:{display:"inline-flex",alignItems:n?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}})),Kwt=Object.defineProperty,v4=Object.getOwnPropertySymbols,NRe=Object.prototype.hasOwnProperty,ERe=Object.prototype.propertyIsEnumerable,uAe=(e,t,n)=>t in e?Kwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ywt=(e,t)=>{for(var n in t||(t={}))NRe.call(t,n)&&uAe(e,n,t[n]);if(v4)for(var n of v4(t))ERe.call(t,n)&&uAe(e,n,t[n]);return e},Xwt=(e,t)=>{var n={};for(var r in e)NRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&v4)for(var r of v4(e))t.indexOf(r)<0&&ERe.call(e,r)&&(n[r]=e[r]);return n};const Zwt={},FRe=w.forwardRef((e,t)=>{const n=Qt("ListItem",Zwt,e),{className:r,children:i,icon:a}=n,o=Xwt(n,["className","children","icon"]),{icon:s,spacing:l,center:c,listStyleType:u,size:f,withPadding:h,classNames:m,styles:p,unstyled:A,variant:v}=Gwt(),y=a||s,{classes:x,cx:k}=Wwt({withPadding:h,listStyleType:u,center:c,spacing:l},{classNames:m,styles:p,unstyled:A,name:"List",variant:v,size:f});return L.createElement(Fn,Ywt({component:"li",className:k(x.item,r),"data-with-icon":!!y||void 0,ref:t},o),L.createElement("div",{className:x.itemWrapper},y&&L.createElement("span",{className:x.itemIcon},y),L.createElement("span",null,i)))});FRe.displayName="@mantine/core/ListItem";var Jwt=Object.defineProperty,ekt=Object.defineProperties,tkt=Object.getOwnPropertyDescriptors,dAe=Object.getOwnPropertySymbols,nkt=Object.prototype.hasOwnProperty,rkt=Object.prototype.propertyIsEnumerable,fAe=(e,t,n)=>t in e?Jwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ikt=(e,t)=>{for(var n in t||(t={}))nkt.call(t,n)&&fAe(e,n,t[n]);if(dAe)for(var n of dAe(t))rkt.call(t,n)&&fAe(e,n,t[n]);return e},akt=(e,t)=>ekt(e,tkt(t)),okt=ln((e,{withPadding:t,listStyleType:n},{size:r})=>({root:akt(ikt({},e.fn.fontStyles()),{listStyleType:n,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,fontSize:Ot({size:r,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})})),skt=Object.defineProperty,y4=Object.getOwnPropertySymbols,DRe=Object.prototype.hasOwnProperty,TRe=Object.prototype.propertyIsEnumerable,hAe=(e,t,n)=>t in e?skt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lkt=(e,t)=>{for(var n in t||(t={}))DRe.call(t,n)&&hAe(e,n,t[n]);if(y4)for(var n of y4(t))TRe.call(t,n)&&hAe(e,n,t[n]);return e},ckt=(e,t)=>{var n={};for(var r in e)DRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&y4)for(var r of y4(e))t.indexOf(r)<0&&TRe.call(e,r)&&(n[r]=e[r]);return n};const ukt={type:"unordered",size:"md",spacing:0},Ep=w.forwardRef((e,t)=>{const n=Qt("List",ukt,e),{children:r,type:i,size:a,listStyleType:o,withPadding:s,center:l,spacing:c,icon:u,className:f,styles:h,classNames:m,unstyled:p,variant:A}=n,v=ckt(n,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:y,cx:x}=okt({withPadding:s,listStyleType:o,center:l,spacing:c},{classNames:m,styles:h,name:"List",unstyled:p,size:a,variant:A});return L.createElement(qwt,{value:{spacing:c,center:l,icon:u,listStyleType:o,size:a,withPadding:s,classNames:m,styles:h,unstyled:p,variant:A}},L.createElement(Fn,lkt({component:i==="unordered"?"ul":"ol",className:x(y.root,f),ref:t},v),r))});Ep.Item=FRe;Ep.displayName="@mantine/core/List";var dkt=Object.defineProperty,fkt=Object.defineProperties,hkt=Object.getOwnPropertyDescriptors,mAe=Object.getOwnPropertySymbols,mkt=Object.prototype.hasOwnProperty,pkt=Object.prototype.propertyIsEnumerable,pAe=(e,t,n)=>t in e?dkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Akt=(e,t)=>{for(var n in t||(t={}))mkt.call(t,n)&&pAe(e,n,t[n]);if(mAe)for(var n of mAe(t))pkt.call(t,n)&&pAe(e,n,t[n]);return e},gkt=(e,t)=>fkt(e,hkt(t)),vkt=ln(e=>({root:gkt(Akt({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})})),ykt=Object.defineProperty,bkt=Object.defineProperties,xkt=Object.getOwnPropertyDescriptors,b4=Object.getOwnPropertySymbols,ORe=Object.prototype.hasOwnProperty,BRe=Object.prototype.propertyIsEnumerable,AAe=(e,t,n)=>t in e?ykt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d5=(e,t)=>{for(var n in t||(t={}))ORe.call(t,n)&&AAe(e,n,t[n]);if(b4)for(var n of b4(t))BRe.call(t,n)&&AAe(e,n,t[n]);return e},wkt=(e,t)=>bkt(e,xkt(t)),kkt=(e,t)=>{var n={};for(var r in e)ORe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&b4)for(var r of b4(e))t.indexOf(r)<0&&BRe.call(e,r)&&(n[r]=e[r]);return n};const Skt={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:$p("overlay")},IRe=w.forwardRef((e,t)=>{const n=Qt("LoadingOverlay",Skt,e),{className:r,visible:i,loaderProps:a,overlayOpacity:o,overlayColor:s,transitionDuration:l,exitTransitionDuration:c,zIndex:u,style:f,loader:h,radius:m,overlayBlur:p,unstyled:A,variant:v,keepMounted:y}=n,x=kkt(n,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:k,cx:S,theme:C}=vkt(null,{name:"LoadingOverlay",unstyled:A,variant:v}),N=`calc(${u} + 1)`;return L.createElement(iC,{keepMounted:y,duration:l,exitDuration:c,mounted:i,transition:"fade"},E=>L.createElement(Fn,d5({className:S(k.root,r),style:wkt(d5(d5({},E),f),{zIndex:u}),ref:t},x),h?L.createElement("div",{style:{zIndex:N}},h):L.createElement(io,d5({style:{zIndex:N}},a)),L.createElement(tm,{opacity:o,zIndex:u,radius:m,blur:p,unstyled:A,color:s||(C.colorScheme==="dark"?C.colors.dark[5]:C.white)})))});IRe.displayName="@mantine/core/LoadingOverlay";const jRe={context:"Menu component was not found in the tree",children:"Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[Ckt,nD]=Qf(jRe.context);var _kt=ln(e=>({divider:{marginTop:Ve(4),marginBottom:Ve(4),borderTop:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`}})),Nkt=Object.defineProperty,x4=Object.getOwnPropertySymbols,PRe=Object.prototype.hasOwnProperty,MRe=Object.prototype.propertyIsEnumerable,gAe=(e,t,n)=>t in e?Nkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ekt=(e,t)=>{for(var n in t||(t={}))PRe.call(t,n)&&gAe(e,n,t[n]);if(x4)for(var n of x4(t))MRe.call(t,n)&&gAe(e,n,t[n]);return e},Fkt=(e,t)=>{var n={};for(var r in e)PRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&x4)for(var r of x4(e))t.indexOf(r)<0&&MRe.call(e,r)&&(n[r]=e[r]);return n};const Dkt={},RRe=w.forwardRef((e,t)=>{const n=Qt("MenuDivider",Dkt,e),{children:r,className:i}=n,a=Fkt(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=nD(),{classes:u,cx:f}=_kt(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return L.createElement(Fn,Ekt({className:f(u.divider,i),ref:t},a))});RRe.displayName="@mantine/core/MenuDivider";var Tkt=Object.defineProperty,w4=Object.getOwnPropertySymbols,$Re=Object.prototype.hasOwnProperty,LRe=Object.prototype.propertyIsEnumerable,vAe=(e,t,n)=>t in e?Tkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Okt=(e,t)=>{for(var n in t||(t={}))$Re.call(t,n)&&vAe(e,n,t[n]);if(w4)for(var n of w4(t))LRe.call(t,n)&&vAe(e,n,t[n]);return e},Bkt=(e,t)=>{var n={};for(var r in e)$Re.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&w4)for(var r of w4(e))t.indexOf(r)<0&&LRe.call(e,r)&&(n[r]=e[r]);return n};const Ikt={};function URe(e){const t=Qt("MenuDropdown",Ikt,e),{children:n,onMouseEnter:r,onMouseLeave:i}=t,a=Bkt(t,["children","onMouseEnter","onMouseLeave"]),o=w.useRef(),s=nD(),l=f=>{var h;(f.key==="ArrowUp"||f.key==="ArrowDown")&&(f.preventDefault(),(h=o.current.querySelectorAll("[data-menu-item]:not(:disabled)")[0])==null||h.focus())},c=Ad(r,()=>s.trigger==="hover"&&s.openDropdown()),u=Ad(i,()=>s.trigger==="hover"&&s.closeDropdown());return L.createElement(Mc.Dropdown,Okt({onMouseEnter:c,onMouseLeave:u,role:"menu","aria-orientation":"vertical"},a),L.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:l,ref:o,style:{outline:0}},n))}URe.displayName="@mantine/core/MenuDropdown";var jkt=Object.defineProperty,Pkt=Object.defineProperties,Mkt=Object.getOwnPropertyDescriptors,yAe=Object.getOwnPropertySymbols,Rkt=Object.prototype.hasOwnProperty,$kt=Object.prototype.propertyIsEnumerable,bAe=(e,t,n)=>t in e?jkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lkt=(e,t)=>{for(var n in t||(t={}))Rkt.call(t,n)&&bAe(e,n,t[n]);if(yAe)for(var n of yAe(t))$kt.call(t,n)&&bAe(e,n,t[n]);return e},Ukt=(e,t)=>Pkt(e,Mkt(t)),zkt=ln((e,{color:t,radius:n})=>({item:Ukt(Lkt({},e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",fontSize:e.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:`${e.spacing.xs} ${e.spacing.sm}`,cursor:"pointer",borderRadius:e.fn.radius(n),color:t?e.fn.variant({variant:"filled",primaryFallback:!1,color:t}).background:e.colorScheme==="dark"?e.colors.dark[0]:e.black,display:"flex",alignItems:"center","&:disabled":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:t?e.fn.variant({variant:"light",color:t}).background:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[3],.35):e.colors.gray[1]}}),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:e.spacing.xs},itemRightSection:{}})),Hkt=Object.defineProperty,Vkt=Object.defineProperties,Qkt=Object.getOwnPropertyDescriptors,k4=Object.getOwnPropertySymbols,zRe=Object.prototype.hasOwnProperty,HRe=Object.prototype.propertyIsEnumerable,xAe=(e,t,n)=>t in e?Hkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qkt=(e,t)=>{for(var n in t||(t={}))zRe.call(t,n)&&xAe(e,n,t[n]);if(k4)for(var n of k4(t))HRe.call(t,n)&&xAe(e,n,t[n]);return e},Gkt=(e,t)=>Vkt(e,Qkt(t)),Wkt=(e,t)=>{var n={};for(var r in e)zRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&k4)for(var r of k4(e))t.indexOf(r)<0&&HRe.call(e,r)&&(n[r]=e[r]);return n};const Kkt={},VRe=w.forwardRef((e,t)=>{const n=Qt("MenuItem",Kkt,e),{children:r,className:i,color:a,closeMenuOnClick:o,icon:s,rightSection:l}=n,c=Wkt(n,["children","className","color","closeMenuOnClick","icon","rightSection"]),u=nD(),{classes:f,cx:h,theme:m}=zkt({radius:u.radius,color:a},{name:"Menu",classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant}),p=w.useRef(),A=u.getItemIndex(p.current),v=c,y=Ad(v.onMouseLeave,()=>u.setHovered(-1)),x=Ad(v.onMouseEnter,()=>u.setHovered(u.getItemIndex(p.current))),k=Ad(v.onClick,()=>{typeof o=="boolean"?o&&u.closeDropdownImmediately():u.closeOnItemClick&&u.closeDropdownImmediately()}),S=Ad(v.onFocus,()=>u.setHovered(u.getItemIndex(p.current)));return L.createElement(Fn,Gkt(qkt({component:"button",type:"button"},c),{tabIndex:-1,onFocus:S,className:h(f.item,i),ref:Lp(p,t),role:"menuitem","data-menu-item":!0,"data-hovered":u.hovered===A?!0:void 0,onMouseEnter:x,onMouseLeave:y,onClick:k,onKeyDown:nje({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:u.loop,dir:m.dir,orientation:"vertical",onKeyDown:v.onKeydown})}),s&&L.createElement("div",{className:f.itemIcon},s),r&&L.createElement("div",{className:f.itemLabel},r),l&&L.createElement("div",{className:f.itemRightSection},l))});VRe.displayName="@mantine/core/MenuItem";const Ykt=VRe;var Xkt=ln(e=>({label:{color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontWeight:500,fontSize:e.fontSizes.xs,padding:`calc(${e.spacing.xs} / 2) ${e.spacing.sm}`,cursor:"default"}})),Zkt=Object.defineProperty,S4=Object.getOwnPropertySymbols,QRe=Object.prototype.hasOwnProperty,qRe=Object.prototype.propertyIsEnumerable,wAe=(e,t,n)=>t in e?Zkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jkt=(e,t)=>{for(var n in t||(t={}))QRe.call(t,n)&&wAe(e,n,t[n]);if(S4)for(var n of S4(t))qRe.call(t,n)&&wAe(e,n,t[n]);return e},eSt=(e,t)=>{var n={};for(var r in e)QRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&S4)for(var r of S4(e))t.indexOf(r)<0&&qRe.call(e,r)&&(n[r]=e[r]);return n};const tSt={},GRe=w.forwardRef((e,t)=>{const n=Qt("MenuLabel",tSt,e),{children:r,className:i}=n,a=eSt(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=nD(),{classes:u,cx:f}=Xkt(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return L.createElement(er,Jkt({className:f(u.label,i),ref:t},a),r)});GRe.displayName="@mantine/core/MenuLabel";var nSt=Object.defineProperty,C4=Object.getOwnPropertySymbols,WRe=Object.prototype.hasOwnProperty,KRe=Object.prototype.propertyIsEnumerable,kAe=(e,t,n)=>t in e?nSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rSt=(e,t)=>{for(var n in t||(t={}))WRe.call(t,n)&&kAe(e,n,t[n]);if(C4)for(var n of C4(t))KRe.call(t,n)&&kAe(e,n,t[n]);return e},iSt=(e,t)=>{var n={};for(var r in e)WRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&C4)for(var r of C4(e))t.indexOf(r)<0&&KRe.call(e,r)&&(n[r]=e[r]);return n};const aSt={refProp:"ref"},YRe=w.forwardRef((e,t)=>{const n=Qt("MenuTarget",aSt,e),{children:r,refProp:i}=n,a=iSt(n,["children","refProp"]);if(!YS(r))throw new Error(jRe.children);const o=nD(),s=Ad(r.props.onClick,()=>o.trigger==="click"&&o.toggleDropdown()),l=Ad(r.props.onMouseEnter,()=>o.trigger==="hover"&&o.openDropdown()),c=Ad(r.props.onMouseLeave,()=>o.trigger==="hover"&&o.closeDropdown());return L.createElement(Mc.Target,rSt({refProp:i,popupType:"menu",ref:t},a),w.cloneElement(r,{onClick:s,onMouseEnter:l,onMouseLeave:c,"data-expanded":o.opened?!0:void 0}))});YRe.displayName="@mantine/core/MenuTarget";var oSt=ln({dropdown:{padding:Ve(4)}}),sSt=Object.defineProperty,lSt=Object.defineProperties,cSt=Object.getOwnPropertyDescriptors,_4=Object.getOwnPropertySymbols,XRe=Object.prototype.hasOwnProperty,ZRe=Object.prototype.propertyIsEnumerable,SAe=(e,t,n)=>t in e?sSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CAe=(e,t)=>{for(var n in t||(t={}))XRe.call(t,n)&&SAe(e,n,t[n]);if(_4)for(var n of _4(t))ZRe.call(t,n)&&SAe(e,n,t[n]);return e},_Ae=(e,t)=>lSt(e,cSt(t)),uSt=(e,t)=>{var n={};for(var r in e)XRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&_4)for(var r of _4(e))t.indexOf(r)<0&&ZRe.call(e,r)&&(n[r]=e[r]);return n};const dSt={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function Hi(e){const t=Qt("Menu",dSt,e),{children:n,onOpen:r,onClose:i,opened:a,defaultOpened:o,onChange:s,closeOnItemClick:l,loop:c,closeOnEscape:u,trigger:f,openDelay:h,closeDelay:m,classNames:p,styles:A,unstyled:v,radius:y,variant:x}=t,k=uSt(t,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:S,cx:C}=oSt(),[N,{setHovered:E,resetHovered:D}]=pdt(),[T,P]=$c({value:a,defaultValue:o,finalValue:!1,onChange:s}),O=()=>{P(!1),T&&i?.()},B=()=>{P(!0),!T&&r?.()},M=()=>T?O():B(),{openDropdown:$,closeDropdown:U}=ywt({open:B,close:O,closeDelay:m,openDelay:h}),j=V=>fdt("[data-menu-item]","[data-menu-dropdown]",V);return Pl(()=>{D()},[T]),L.createElement(Ckt,{value:{opened:T,toggleDropdown:M,getItemIndex:j,hovered:N,setHovered:E,closeOnItemClick:l,closeDropdown:f==="click"?O:U,openDropdown:f==="click"?B:$,closeDropdownImmediately:O,loop:c,trigger:f,radius:y,classNames:p,styles:A,unstyled:v,variant:x}},L.createElement(Mc,_Ae(CAe({},k),{radius:y,opened:T,onChange:M,defaultOpened:o,trapFocus:f==="click"&&T,closeOnEscape:u&&f==="click",__staticSelector:"Menu",classNames:_Ae(CAe({},p),{dropdown:C(S.dropdown,p?.dropdown)}),styles:A,unstyled:v,variant:x}),n))}Hi.displayName="@mantine/core/Menu";Hi.Item=Ykt;Hi.Label=GRe;Hi.Dropdown=URe;Hi.Target=YRe;Hi.Divider=RRe;const[fSt,hSt]=Qf("Modal component was not found in tree"),mSt={xs:Ve(320),sm:Ve(380),md:Ve(440),lg:Ve(620),xl:Ve(780)};var pSt=ln((e,{yOffset:t,xOffset:n,centered:r,fullScreen:i},{size:a})=>({content:{flex:i?"0 0 100%":`0 0 ${Ot({size:a,sizes:mSt})}`,maxWidth:"100%",maxHeight:i?void 0:`calc(100dvh - (${Ve(t)} * 2))`,height:i?"100vh":void 0,borderRadius:i?0:void 0,overflowY:"auto"},inner:{paddingTop:i?0:t,paddingBottom:i?0:t,paddingLeft:i?0:n,paddingRight:i?0:n,display:"flex",justifyContent:"center",alignItems:r?"center":"flex-start"}})),ASt=Object.defineProperty,gSt=Object.defineProperties,vSt=Object.getOwnPropertyDescriptors,N4=Object.getOwnPropertySymbols,JRe=Object.prototype.hasOwnProperty,e$e=Object.prototype.propertyIsEnumerable,NAe=(e,t,n)=>t in e?ASt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,PY=(e,t)=>{for(var n in t||(t={}))JRe.call(t,n)&&NAe(e,n,t[n]);if(N4)for(var n of N4(t))e$e.call(t,n)&&NAe(e,n,t[n]);return e},t$e=(e,t)=>gSt(e,vSt(t)),ySt=(e,t)=>{var n={};for(var r in e)JRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&N4)for(var r of N4(e))t.indexOf(r)<0&&e$e.call(e,r)&&(n[r]=e[r]);return n};const bSt=t$e(PY({},tD),{yOffset:"5dvh",xOffset:"5vw"});function n$e(e){const t=Qt("ModalRoot",bSt,e),{classNames:n,variant:r,size:i,yOffset:a,xOffset:o,scrollAreaComponent:s,radius:l,centered:c,fullScreen:u}=t,f=ySt(t,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:h,cx:m}=pSt({yOffset:a,xOffset:o,centered:c,fullScreen:u},{name:"Modal",variant:r,size:i});return L.createElement(fSt,{value:{yOffset:a,scrollAreaComponent:s,radius:l}},L.createElement(yi,PY({__staticSelector:"Modal",size:i,variant:r,classNames:t$e(PY({},n),{content:m(h.content,n?.content),inner:m(h.inner,n?.inner)})},f)))}var xSt=Object.defineProperty,E4=Object.getOwnPropertySymbols,r$e=Object.prototype.hasOwnProperty,i$e=Object.prototype.propertyIsEnumerable,EAe=(e,t,n)=>t in e?xSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wSt=(e,t)=>{for(var n in t||(t={}))r$e.call(t,n)&&EAe(e,n,t[n]);if(E4)for(var n of E4(t))i$e.call(t,n)&&EAe(e,n,t[n]);return e},kSt=(e,t)=>{var n={};for(var r in e)r$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&E4)for(var r of E4(e))t.indexOf(r)<0&&i$e.call(e,r)&&(n[r]=e[r]);return n};const SSt={shadow:"xl"},a$e=w.forwardRef((e,t)=>{const n=Qt("ModalContent",SSt,e),{children:r,scrollAreaComponent:i}=n,a=kSt(n,["children","scrollAreaComponent"]),o=hSt(),s=i||o.scrollAreaComponent||yi.NativeScrollArea;return L.createElement(yi.Content,wSt({ref:t,radius:o.radius},a),L.createElement(s,{style:{maxHeight:`calc(100dvh - (${Ve(o.yOffset)} * 2))`}},r))});var CSt=Object.defineProperty,_St=Object.defineProperties,NSt=Object.getOwnPropertyDescriptors,F4=Object.getOwnPropertySymbols,o$e=Object.prototype.hasOwnProperty,s$e=Object.prototype.propertyIsEnumerable,FAe=(e,t,n)=>t in e?CSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XI=(e,t)=>{for(var n in t||(t={}))o$e.call(t,n)&&FAe(e,n,t[n]);if(F4)for(var n of F4(t))s$e.call(t,n)&&FAe(e,n,t[n]);return e},ESt=(e,t)=>_St(e,NSt(t)),FSt=(e,t)=>{var n={};for(var r in e)o$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&F4)for(var r of F4(e))t.indexOf(r)<0&&s$e.call(e,r)&&(n[r]=e[r]);return n};const DSt=ESt(XI({},tD),{transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0});function _r(e){const t=Qt("Modal",DSt,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=FSt(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return L.createElement(n$e,XI({},l),r&&L.createElement(yi.Overlay,XI({},i)),L.createElement(a$e,null,c&&L.createElement(yi.Header,null,n&&L.createElement(yi.Title,null,n),a&&L.createElement(yi.CloseButton,XI({},o))),L.createElement(yi.Body,null,s)))}_r.Root=n$e;_r.CloseButton=yi.CloseButton;_r.Overlay=yi.Overlay;_r.Content=a$e;_r.Header=yi.Header;_r.Title=yi.Title;_r.Body=yi.Body;_r.NativeScrollArea=yi.NativeScrollArea;const l$e={xs:Ve(16),sm:Ve(22),md:Ve(26),lg:Ve(30),xl:Ve(36)},TSt={xs:Ve(10),sm:Ve(12),md:Ve(14),lg:Ve(16),xl:Ve(18)};var OSt=ln((e,{disabled:t,radius:n,readOnly:r},{size:i,variant:a})=>({defaultValue:{display:"flex",alignItems:"center",backgroundColor:t?e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]:e.colorScheme==="dark"?e.colors.dark[7]:a==="filled"?e.white:e.colors.gray[1],color:t?e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7]:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],height:Ot({size:i,sizes:l$e}),paddingLeft:`calc(${Ot({size:i,sizes:e.spacing})} / 1.5)`,paddingRight:t||r?Ot({size:i,sizes:e.spacing}):0,fontWeight:500,fontSize:Ot({size:i,sizes:TSt}),borderRadius:Ot({size:n,sizes:e.radius}),cursor:t?"not-allowed":"default",userSelect:"none",maxWidth:`calc(100% - ${Ve(10)})`},defaultValueRemove:{color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],marginLeft:`calc(${Ot({size:i,sizes:e.spacing})} / 6)`},defaultValueLabel:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}})),BSt=Object.defineProperty,D4=Object.getOwnPropertySymbols,c$e=Object.prototype.hasOwnProperty,u$e=Object.prototype.propertyIsEnumerable,DAe=(e,t,n)=>t in e?BSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ISt=(e,t)=>{for(var n in t||(t={}))c$e.call(t,n)&&DAe(e,n,t[n]);if(D4)for(var n of D4(t))u$e.call(t,n)&&DAe(e,n,t[n]);return e},jSt=(e,t)=>{var n={};for(var r in e)c$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&D4)for(var r of D4(e))t.indexOf(r)<0&&u$e.call(e,r)&&(n[r]=e[r]);return n};const PSt={xs:16,sm:22,md:24,lg:26,xl:30};function d$e(e){var t=e,{label:n,classNames:r,styles:i,className:a,onRemove:o,disabled:s,readOnly:l,size:c,radius:u="sm",variant:f,unstyled:h}=t,m=jSt(t,["label","classNames","styles","className","onRemove","disabled","readOnly","size","radius","variant","unstyled"]);const{classes:p,cx:A}=OSt({disabled:s,readOnly:l,radius:u},{name:"MultiSelect",classNames:r,styles:i,unstyled:h,size:c,variant:f});return L.createElement("div",ISt({className:A(p.defaultValue,a)},m),L.createElement("span",{className:p.defaultValueLabel},n),!s&&!l&&L.createElement(XF,{"aria-hidden":!0,onMouseDown:o,size:PSt[c],radius:2,color:"blue",variant:"transparent",iconSize:"70%",className:p.defaultValueRemove,tabIndex:-1,unstyled:h}))}d$e.displayName="@mantine/core/MultiSelect/DefaultValue";function MSt({data:e,searchable:t,limit:n,searchValue:r,filter:i,value:a,disableSelectedItemFiltering:o}){if(!t&&a.length===0)return e;if(!t){const l=[];for(let c=0;c<e.length;c+=1)(o||!a.some(u=>u===e[c].value&&!e[c].disabled))&&l.push(e[c]);return l}const s=[];for(let l=0;l<e.length&&(i(r,!o&&a.some(c=>c===e[l].value&&!e[l].disabled),e[l])&&s.push(e[l]),!(s.length>=n));l+=1);return s}var RSt=Object.defineProperty,T4=Object.getOwnPropertySymbols,f$e=Object.prototype.hasOwnProperty,h$e=Object.prototype.propertyIsEnumerable,TAe=(e,t,n)=>t in e?RSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OAe=(e,t)=>{for(var n in t||(t={}))f$e.call(t,n)&&TAe(e,n,t[n]);if(T4)for(var n of T4(t))h$e.call(t,n)&&TAe(e,n,t[n]);return e},$St=(e,t)=>{var n={};for(var r in e)f$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&T4)for(var r of T4(e))t.indexOf(r)<0&&h$e.call(e,r)&&(n[r]=e[r]);return n};const LSt={xs:Ve(14),sm:Ve(18),md:Ve(20),lg:Ve(24),xl:Ve(28)};function USt(e){var t=e,{size:n,error:r,style:i}=t,a=$St(t,["size","error","style"]);const o=Eu(),s=Ot({size:n,sizes:LSt});return L.createElement("svg",OAe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:OAe({color:r?o.colors.red[6]:o.colors.gray[6],width:s,height:s},i),"data-chevron":!0},a),L.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var zSt=Object.defineProperty,HSt=Object.defineProperties,VSt=Object.getOwnPropertyDescriptors,BAe=Object.getOwnPropertySymbols,QSt=Object.prototype.hasOwnProperty,qSt=Object.prototype.propertyIsEnumerable,IAe=(e,t,n)=>t in e?zSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GSt=(e,t)=>{for(var n in t||(t={}))QSt.call(t,n)&&IAe(e,n,t[n]);if(BAe)for(var n of BAe(t))qSt.call(t,n)&&IAe(e,n,t[n]);return e},WSt=(e,t)=>HSt(e,VSt(t));function m$e({shouldClear:e,clearButtonProps:t,onClear:n,size:r,error:i}){return e?L.createElement(XF,WSt(GSt({},t),{variant:"transparent",onClick:n,size:r,onMouseDown:a=>a.preventDefault()})):L.createElement(USt,{error:i,size:r})}m$e.displayName="@mantine/core/SelectRightSection";var KSt=Object.defineProperty,YSt=Object.defineProperties,XSt=Object.getOwnPropertyDescriptors,O4=Object.getOwnPropertySymbols,p$e=Object.prototype.hasOwnProperty,A$e=Object.prototype.propertyIsEnumerable,jAe=(e,t,n)=>t in e?KSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P7=(e,t)=>{for(var n in t||(t={}))p$e.call(t,n)&&jAe(e,n,t[n]);if(O4)for(var n of O4(t))A$e.call(t,n)&&jAe(e,n,t[n]);return e},PAe=(e,t)=>YSt(e,XSt(t)),ZSt=(e,t)=>{var n={};for(var r in e)p$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&O4)for(var r of O4(e))t.indexOf(r)<0&&A$e.call(e,r)&&(n[r]=e[r]);return n};function g$e(e){var t=e,{styles:n,rightSection:r,rightSectionWidth:i,theme:a}=t,o=ZSt(t,["styles","rightSection","rightSectionWidth","theme"]);if(r)return{rightSection:r,rightSectionWidth:i,styles:n};const s=typeof n=="function"?n(a):n;return{rightSection:!o.readOnly&&!(o.disabled&&o.shouldClear)&&L.createElement(m$e,P7({},o)),styles:PAe(P7({},s),{rightSection:PAe(P7({},s?.rightSection),{pointerEvents:o.shouldClear?void 0:"none"})})}}var JSt=Object.defineProperty,eCt=Object.defineProperties,tCt=Object.getOwnPropertyDescriptors,MAe=Object.getOwnPropertySymbols,nCt=Object.prototype.hasOwnProperty,rCt=Object.prototype.propertyIsEnumerable,RAe=(e,t,n)=>t in e?JSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iCt=(e,t)=>{for(var n in t||(t={}))nCt.call(t,n)&&RAe(e,n,t[n]);if(MAe)for(var n of MAe(t))rCt.call(t,n)&&RAe(e,n,t[n]);return e},aCt=(e,t)=>eCt(e,tCt(t)),oCt=ln((e,{invalid:t},{size:n})=>({wrapper:{position:"relative","&:has(input:disabled)":{cursor:"not-allowed",pointerEvents:"none","& .mantine-MultiSelect-input":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,"&::placeholder":{color:e.colors.dark[2]}},"& .mantine-MultiSelect-defaultValue":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3],color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7]}}},values:{minHeight:`calc(${Ot({size:n,sizes:lu})} - ${Ve(2)})`,display:"flex",alignItems:"center",flexWrap:"wrap",marginLeft:`calc(-${e.spacing.xs} / 2)`,boxSizing:"border-box","&[data-clearable]":{marginRight:Ot({size:n,sizes:lu})}},value:{margin:`calc(${e.spacing.xs} / 2 - ${Ve(2)}) calc(${e.spacing.xs} / 2)`},searchInput:aCt(iCt({},e.fn.fontStyles()),{flex:1,minWidth:Ve(60),backgroundColor:"transparent",border:0,outline:0,fontSize:Ot({size:n,sizes:e.fontSizes}),padding:0,marginLeft:`calc(${e.spacing.xs} / 2)`,appearance:"none",color:"inherit",maxHeight:Ot({size:n,sizes:l$e}),"&::placeholder":{opacity:1,color:t?e.colors.red[e.fn.primaryShade()]:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]},"&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}),searchInputEmpty:{width:"100%"},searchInputInputHidden:{flex:0,width:0,minWidth:0,margin:0,overflow:"hidden"},searchInputPointer:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}},input:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}})),sCt=Object.defineProperty,lCt=Object.defineProperties,cCt=Object.getOwnPropertyDescriptors,B4=Object.getOwnPropertySymbols,v$e=Object.prototype.hasOwnProperty,y$e=Object.prototype.propertyIsEnumerable,$Ae=(e,t,n)=>t in e?sCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nw=(e,t)=>{for(var n in t||(t={}))v$e.call(t,n)&&$Ae(e,n,t[n]);if(B4)for(var n of B4(t))y$e.call(t,n)&&$Ae(e,n,t[n]);return e},LAe=(e,t)=>lCt(e,cCt(t)),uCt=(e,t)=>{var n={};for(var r in e)v$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&B4)for(var r of B4(e))t.indexOf(r)<0&&y$e.call(e,r)&&(n[r]=e[r]);return n};function dCt(e,t,n){return t?!1:n.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function fCt(e,t){return!!e&&!t.some(n=>n.value.toLowerCase()===e.toLowerCase())}function UAe(e,t){if(!Array.isArray(e))return;if(t.length===0)return[];const n=t.map(r=>typeof r=="object"?r.value:r);return e.filter(r=>n.includes(r))}const hCt={size:"sm",valueComponent:d$e,itemComponent:Ute,transitionProps:{transition:"fade",duration:0},maxDropdownHeight:220,shadow:"sm",searchable:!1,filter:dCt,limit:1/0,clearSearchOnChange:!0,clearable:!1,clearSearchOnBlur:!1,disabled:!1,initiallyOpened:!1,creatable:!1,shouldCreate:fCt,switchDirectionOnFlip:!1,zIndex:$p("popover"),selectOnBlur:!1,positionDependencies:[],dropdownPosition:"flip"},ul=w.forwardRef((e,t)=>{const n=Qt("MultiSelect",hCt,e),{className:r,style:i,required:a,label:o,description:s,size:l,error:c,classNames:u,styles:f,wrapperProps:h,value:m,defaultValue:p,data:A,onChange:v,valueComponent:y,itemComponent:x,id:k,transitionProps:S,maxDropdownHeight:C,shadow:N,nothingFound:E,onFocus:D,onBlur:T,searchable:P,placeholder:O,filter:B,limit:M,clearSearchOnChange:$,clearable:U,clearSearchOnBlur:j,variant:V,onSearchChange:Q,searchValue:X,disabled:Z,initiallyOpened:le,radius:H,icon:G,rightSection:W,rightSectionWidth:te,creatable:re,getCreateLabel:ne,shouldCreate:de,onCreate:he,sx:pe,dropdownComponent:oe,onDropdownClose:J,onDropdownOpen:Se,maxSelectedValues:be,withinPortal:we,portalProps:me,switchDirectionOnFlip:K,zIndex:ie,selectOnBlur:ce,name:ue,dropdownPosition:ve,errorProps:ke,labelProps:Re,descriptionProps:Me,form:$e,positionDependencies:We,onKeyDown:tt,unstyled:ot,inputContainer:vt,inputWrapperOrder:Ae,readOnly:ee,withAsterisk:se,clearButtonProps:_e,hoverOnSearchChange:Fe,disableSelectedItemFiltering:Ue}=n,Te=uCt(n,["className","style","required","label","description","size","error","classNames","styles","wrapperProps","value","defaultValue","data","onChange","valueComponent","itemComponent","id","transitionProps","maxDropdownHeight","shadow","nothingFound","onFocus","onBlur","searchable","placeholder","filter","limit","clearSearchOnChange","clearable","clearSearchOnBlur","variant","onSearchChange","searchValue","disabled","initiallyOpened","radius","icon","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","onCreate","sx","dropdownComponent","onDropdownClose","onDropdownOpen","maxSelectedValues","withinPortal","portalProps","switchDirectionOnFlip","zIndex","selectOnBlur","name","dropdownPosition","errorProps","labelProps","descriptionProps","form","positionDependencies","onKeyDown","unstyled","inputContainer","inputWrapperOrder","readOnly","withAsterisk","clearButtonProps","hoverOnSearchChange","disableSelectedItemFiltering"]),{classes:Pe,cx:st,theme:Xe}=oCt({invalid:!!c},{name:"MultiSelect",classNames:u,styles:f,unstyled:ot,size:l,variant:V}),{systemStyles:it,rest:lt}=eC(Te),Pt=w.useRef(),Ft=w.useRef({}),St=$x(k),[cn,fn]=w.useState(le),[pn,Le]=w.useState(-1),[ze,Je]=w.useState("column"),[gt,xt]=$c({value:X,defaultValue:"",finalValue:void 0,onChange:Q}),[Gt,Kt]=w.useState(!1),{scrollIntoView:Wt,targetRef:tn,scrollableRef:Sn}=Ije({duration:0,offset:5,cancelable:!1,isList:!0}),hn=re&&typeof ne=="function";let yt=null;const an=A.map(vn=>typeof vn=="string"?{label:vn,value:vn}:vn),Dn=ije({data:an}),[mn,Dr]=$c({value:UAe(m,A),defaultValue:UAe(p,A),finalValue:[],onChange:v}),Cn=w.useRef(!!be&&be<mn.length),mr=vn=>{if(!ee){const nr=mn.filter(ba=>ba!==vn);Dr(nr),be&&nr.length<be&&(Cn.current=!1)}},Sa=vn=>{xt(vn.currentTarget.value),!Z&&!Cn.current&&P&&fn(!0)},La=vn=>{typeof D=="function"&&D(vn),!Z&&!Cn.current&&P&&fn(!0)},Mr=MSt({data:Dn,searchable:P,searchValue:gt,limit:M,filter:B,value:mn,disableSelectedItemFiltering:Ue});hn&&de(gt,Dn)&&(yt=ne(gt),Mr.push({label:gt,value:gt,creatable:!0}));const ca=Math.min(pn,Mr.length-1),Ru=(vn,nr,ba)=>{let ms=vn;for(;ba(ms);)if(ms=nr(ms),!Mr[ms].disabled)return ms;return vn};Pl(()=>{Le(Fe&&gt?0:-1)},[gt,Fe]),Pl(()=>{!Z&&mn.length>A.length&&fn(!1),be&&mn.length<be&&(Cn.current=!1),be&&mn.length>=be&&(Cn.current=!0,fn(!1))},[mn]);const Ts=vn=>{if(!ee)if($&&xt(""),mn.includes(vn.value))mr(vn.value);else{if(vn.creatable&&typeof he=="function"){const nr=he(vn.value);typeof nr<"u"&&nr!==null&&Dr(typeof nr=="string"?[...mn,nr]:[...mn,nr.value])}else Dr([...mn,vn.value]);mn.length===be-1&&(Cn.current=!0,fn(!1)),Mr.length===1&&fn(!1)}},zl=vn=>{typeof T=="function"&&T(vn),ce&&Mr[ca]&&cn&&Ts(Mr[ca]),j&&xt(""),fn(!1)},Hl=vn=>{if(Gt||(tt?.(vn),ee)||vn.key!=="Backspace"&&be&&Cn.current)return;const nr=ze==="column",ba=()=>{Le(Vl=>{var Rr;const $u=Ru(Vl,qc=>qc+1,qc=>qc<Mr.length-1);return cn&&(tn.current=Ft.current[(Rr=Mr[$u])==null?void 0:Rr.value],Wt({alignment:nr?"end":"start"})),$u})},ms=()=>{Le(Vl=>{var Rr;const $u=Ru(Vl,qc=>qc-1,qc=>qc>0);return cn&&(tn.current=Ft.current[(Rr=Mr[$u])==null?void 0:Rr.value],Wt({alignment:nr?"start":"end"})),$u})};switch(vn.key){case"ArrowUp":{vn.preventDefault(),fn(!0),nr?ms():ba();break}case"ArrowDown":{vn.preventDefault(),fn(!0),nr?ba():ms();break}case"Enter":{vn.preventDefault(),Mr[ca]&&cn?Ts(Mr[ca]):fn(!0);break}case" ":{P||(vn.preventDefault(),Mr[ca]&&cn?Ts(Mr[ca]):fn(!0));break}case"Backspace":{mn.length>0&&gt.length===0&&(Dr(mn.slice(0,-1)),fn(!0),be&&(Cn.current=!1));break}case"Home":{if(!P){vn.preventDefault(),cn||fn(!0);const Vl=Mr.findIndex(Rr=>!Rr.disabled);Le(Vl),Wt({alignment:nr?"end":"start"})}break}case"End":{if(!P){vn.preventDefault(),cn||fn(!0);const Vl=Mr.map(Rr=>!!Rr.disabled).lastIndexOf(!1);Le(Vl),Wt({alignment:nr?"end":"start"})}break}case"Escape":fn(!1)}},Ua=mn.map(vn=>{let nr=Dn.find(ba=>ba.value===vn&&!ba.disabled);return!nr&&hn&&(nr={value:vn,label:vn}),nr}).filter(vn=>!!vn).map((vn,nr)=>L.createElement(y,LAe(nw({},vn),{variant:V,disabled:Z,className:Pe.value,readOnly:ee,onRemove:ba=>{ba.preventDefault(),ba.stopPropagation(),mr(vn.value)},key:vn.value,size:l,styles:f,classNames:u,radius:H,index:nr}))),sr=vn=>mn.includes(vn),ua=()=>{var vn;xt(""),Dr([]),(vn=Pt.current)==null||vn.focus(),be&&(Cn.current=!1)},hs=!ee&&(Mr.length>0?cn:cn&&!!E);return Pl(()=>{const vn=hs?Se:J;typeof vn=="function"&&vn()},[hs]),L.createElement(Ml.Wrapper,nw(nw({required:a,id:St,label:o,error:c,description:s,size:l,className:r,style:i,classNames:u,styles:f,__staticSelector:"MultiSelect",sx:pe,errorProps:ke,descriptionProps:Me,labelProps:Re,inputContainer:vt,inputWrapperOrder:Ae,unstyled:ot,withAsterisk:se,variant:V},it),h),L.createElement(ay,{opened:hs,transitionProps:S,shadow:"sm",withinPortal:we,portalProps:me,__staticSelector:"MultiSelect",onDirectionChange:Je,switchDirectionOnFlip:K,zIndex:ie,dropdownPosition:ve,positionDependencies:[...We,gt],classNames:u,styles:f,unstyled:ot,variant:V},L.createElement(ay.Target,null,L.createElement("div",{className:Pe.wrapper,role:"combobox","aria-haspopup":"listbox","aria-owns":cn&&hs?`${St}-items`:null,"aria-controls":St,"aria-expanded":cn,onMouseLeave:()=>Le(-1),tabIndex:-1},L.createElement("input",{type:"hidden",name:ue,value:mn.join(","),form:$e,disabled:Z}),L.createElement(Ml,nw({__staticSelector:"MultiSelect",style:{overflow:"hidden"},component:"div",multiline:!0,size:l,variant:V,disabled:Z,error:c,required:a,radius:H,icon:G,unstyled:ot,onMouseDown:vn=>{var nr;vn.preventDefault(),!Z&&!Cn.current&&fn(!cn),(nr=Pt.current)==null||nr.focus()},classNames:LAe(nw({},u),{input:st({[Pe.input]:!P},u?.input)})},g$e({theme:Xe,rightSection:W,rightSectionWidth:te,styles:f,size:l,shouldClear:U&&mn.length>0,onClear:ua,error:c,disabled:Z,clearButtonProps:_e,readOnly:ee})),L.createElement("div",{className:Pe.values,"data-clearable":U||void 0},Ua,L.createElement("input",nw({ref:Lp(t,Pt),type:"search",id:St,className:st(Pe.searchInput,{[Pe.searchInputPointer]:!P,[Pe.searchInputInputHidden]:!cn&&mn.length>0||!P&&mn.length>0,[Pe.searchInputEmpty]:mn.length===0}),onKeyDown:Hl,value:gt,onChange:Sa,onFocus:La,onBlur:zl,readOnly:!P||Cn.current||ee,placeholder:mn.length===0?O:void 0,disabled:Z,"data-mantine-stop-propagation":cn,autoComplete:"off",onCompositionStart:()=>Kt(!0),onCompositionEnd:()=>Kt(!1)},lt)))))),L.createElement(ay.Dropdown,{component:oe||c3,maxHeight:C,direction:ze,id:St,innerRef:Sn,__staticSelector:"MultiSelect",classNames:u,styles:f},L.createElement(Lte,{data:Mr,hovered:ca,classNames:u,styles:f,uuid:St,__staticSelector:"MultiSelect",onItemHover:Le,onItemSelect:Ts,itemsRefs:Ft,itemComponent:x,size:l,nothingFound:E,isItemSelected:sr,creatable:re&&!!yt,createLabel:yt,unstyled:ot,variant:V}))))});ul.displayName="@mantine/core/MultiSelect";var mCt=Object.defineProperty,pCt=Object.defineProperties,ACt=Object.getOwnPropertyDescriptors,zAe=Object.getOwnPropertySymbols,gCt=Object.prototype.hasOwnProperty,vCt=Object.prototype.propertyIsEnumerable,HAe=(e,t,n)=>t in e?mCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MY=(e,t)=>{for(var n in t||(t={}))gCt.call(t,n)&&HAe(e,n,t[n]);if(zAe)for(var n of zAe(t))vCt.call(t,n)&&HAe(e,n,t[n]);return e},yCt=(e,t)=>pCt(e,ACt(t));const bCt=["filled","light","subtle"];function xCt({theme:e,variant:t,color:n}){if(!bCt.includes(t))return null;const r=e.fn.variant({variant:t,color:n});return{"&[data-active]":MY({backgroundColor:r.background,color:r.color},e.fn.hover({backgroundColor:r.hover}))}}var wCt=ln((e,{noWrap:t,childrenOffset:n,alignIcon:r,color:i},{variant:a})=>({root:yCt(MY(MY({display:"flex",alignItems:"center",width:"100%",padding:`${Ve(8)} ${e.spacing.sm}`,userSelect:"none"},xCt({theme:e,variant:a,color:i})),e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-disabled]":{opacity:.4,pointerEvents:"none"}}),icon:{marginRight:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",alignSelf:r==="center"?"center":"flex-start",paddingTop:r==="center"?void 0:Ve(4)},rightSection:{marginLeft:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",transition:`transform 150ms ${e.transitionTimingFunction}`,"&[data-rotate]":{transform:"rotate(90deg)"}},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:t?"nowrap":void 0},label:{},description:{display:"block","&[data-active]":{color:"inherit"}},children:{paddingLeft:Ot({size:n,sizes:e.spacing})}})),kCt=Object.defineProperty,I4=Object.getOwnPropertySymbols,b$e=Object.prototype.hasOwnProperty,x$e=Object.prototype.propertyIsEnumerable,VAe=(e,t,n)=>t in e?kCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,SCt=(e,t)=>{for(var n in t||(t={}))b$e.call(t,n)&&VAe(e,n,t[n]);if(I4)for(var n of I4(t))x$e.call(t,n)&&VAe(e,n,t[n]);return e},CCt=(e,t)=>{var n={};for(var r in e)b$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&I4)for(var r of I4(e))t.indexOf(r)<0&&x$e.call(e,r)&&(n[r]=e[r]);return n};const _Ct={variant:"light",childrenOffset:"lg"},w$e=w.forwardRef((e,t)=>{const n=Qt("NavLink",_Ct,e),{label:r,description:i,icon:a,rightSection:o,className:s,classNames:l,styles:c,unstyled:u,active:f,color:h,variant:m,noWrap:p,children:A,opened:v,defaultOpened:y,onChange:x,disableRightSectionRotation:k,childrenOffset:S,disabled:C,onClick:N}=n,E=CCt(n,["label","description","icon","rightSection","className","classNames","styles","unstyled","active","color","variant","noWrap","children","opened","defaultOpened","onChange","disableRightSectionRotation","childrenOffset","disabled","onClick"]),{classes:D,cx:T}=wCt({color:h,noWrap:p,childrenOffset:S,alignIcon:i?"top":"center"},{name:"NavLink",classNames:l,styles:c,unstyled:u,variant:m}),[P,O]=$c({value:v,defaultValue:y,finalValue:!1,onChange:x}),B=!!A,M=$=>{B?($.preventDefault(),N?.($),O(!P)):N?.($)};return L.createElement(L.Fragment,null,L.createElement(bd,SCt({ref:t,className:T(D.root,s),"data-active":f||void 0,onClick:M,unstyled:u,"data-expanded":P||void 0,"data-disabled":C||void 0,disabled:C},E),a&&L.createElement("span",{className:D.icon},a),L.createElement("span",{className:D.body},L.createElement(er,{component:"span",size:"sm",className:D.label},r),L.createElement(er,{component:"span",color:"dimmed",size:"xs","data-active":f||void 0,className:D.description},i)),(B||o)&&L.createElement("span",{className:D.rightSection,"data-rotate":P&&!k||void 0},B?o||L.createElement(aE,{width:Ve(14),height:Ve(14),style:{transform:"rotate(-90deg)"}}):o)),L.createElement(a3,{in:P},L.createElement("div",{className:D.children},A)))});w$e.displayName="@mantine/core/NavLink";const Kh=w$e,NCt=(e,t,n)=>Number.isInteger(e)&&e>=0&&t===0?"numeric":!Number.isInteger(e)&&e>=0&&t!==0?"decimal":Number.isInteger(e)&&e<0&&t===0||!Number.isInteger(e)&&e<0&&t!==0?n==="ios"?"text":"decimal":"numeric";function QAe({direction:e,size:t}){return L.createElement("svg",{style:{width:Ve(t),height:Ve(t),transform:e==="up"?"rotate(180deg)":void 0},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}const k$e={xs:Ve(20),sm:Ve(24),md:Ve(30),lg:Ve(34),xl:Ve(36)};var ECt=ln((e,{radius:t},{size:n})=>({rightSection:{display:"flex",flexDirection:"column",height:`calc(100% - ${Ve(2)})`,margin:Ve(1),overflow:"hidden",borderTopRightRadius:e.fn.radius(t),borderBottomRightRadius:e.fn.radius(t)},control:{margin:0,position:"relative",flex:"0 0 50%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:Ot({size:n,sizes:k$e}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderLeft:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:Ve(1),color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,"&:not(:disabled):hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[0]},"&:disabled":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[4]}},controlUp:{},controlDown:{borderBottom:0}})),FCt=Object.defineProperty,DCt=Object.defineProperties,TCt=Object.getOwnPropertyDescriptors,j4=Object.getOwnPropertySymbols,S$e=Object.prototype.hasOwnProperty,C$e=Object.prototype.propertyIsEnumerable,qAe=(e,t,n)=>t in e?FCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M7=(e,t)=>{for(var n in t||(t={}))S$e.call(t,n)&&qAe(e,n,t[n]);if(j4)for(var n of j4(t))C$e.call(t,n)&&qAe(e,n,t[n]);return e},OCt=(e,t)=>DCt(e,TCt(t)),BCt=(e,t)=>{var n={};for(var r in e)S$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&j4)for(var r of j4(e))t.indexOf(r)<0&&C$e.call(e,r)&&(n[r]=e[r]);return n};const ICt={type:"text",size:"sm",__staticSelector:"TextInput"},une=w.forwardRef((e,t)=>{const n=A3("TextInput",ICt,e),{inputProps:r,wrapperProps:i}=n,a=BCt(n,["inputProps","wrapperProps"]);return L.createElement(Ml.Wrapper,M7({},i),L.createElement(Ml,OCt(M7(M7({},r),a),{ref:t})))});une.displayName="@mantine/core/TextInput";var jCt=Object.defineProperty,PCt=Object.defineProperties,MCt=Object.getOwnPropertyDescriptors,P4=Object.getOwnPropertySymbols,_$e=Object.prototype.hasOwnProperty,N$e=Object.prototype.propertyIsEnumerable,GAe=(e,t,n)=>t in e?jCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RCt=(e,t)=>{for(var n in t||(t={}))_$e.call(t,n)&&GAe(e,n,t[n]);if(P4)for(var n of P4(t))N$e.call(t,n)&&GAe(e,n,t[n]);return e},$Ct=(e,t)=>PCt(e,MCt(t)),LCt=(e,t)=>{var n={};for(var r in e)_$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&P4)for(var r of P4(e))t.indexOf(r)<0&&N$e.call(e,r)&&(n[r]=e[r]);return n};const UCt=e=>e||"",zCt=e=>{if(e==="-")return e;let t=e;t[0]==="."&&(t=`0${e}`);const n=parseFloat(t);return Number.isNaN(n)?"":e},WAe={xs:Ve(10),sm:Ve(14),md:Ve(16),lg:Ve(18),xl:Ve(20)},HCt={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:UCt,parser:zCt,type:"text"},Nl=w.forwardRef((e,t)=>{const n=Qt("NumberInput",HCt,e),{readOnly:r,disabled:i,value:a,onChange:o,decimalSeparator:s,thousandsSeparator:l,min:c,max:u,startValue:f,step:h,stepHoldInterval:m,stepHoldDelay:p,onFocus:A,onBlur:v,onKeyDown:y,onKeyUp:x,hideControls:k,radius:S,variant:C,precision:N,removeTrailingZeros:E,defaultValue:D,noClampOnBlur:T,handlersRef:P,classNames:O,styles:B,size:M,rightSection:$,rightSectionWidth:U,formatter:j,parser:V,inputMode:Q,unstyled:X,type:Z}=n,le=LCt(n,["readOnly","disabled","value","onChange","decimalSeparator","thousandsSeparator","min","max","startValue","step","stepHoldInterval","stepHoldDelay","onFocus","onBlur","onKeyDown","onKeyUp","hideControls","radius","variant","precision","removeTrailingZeros","defaultValue","noClampOnBlur","handlersRef","classNames","styles","size","rightSection","rightSectionWidth","formatter","parser","inputMode","unstyled","type"]),{classes:H,cx:G}=ECt({radius:S},{classNames:O,styles:B,unstyled:X,name:"NumberInput",variant:C,size:M}),W=Fe=>{if(Fe==="")return"";let Ue=Fe.toFixed(N);return E&&N>0&&(Ue=Ue.replace(new RegExp(`[0]{0,${N}}$`),""),Ue.endsWith(".")&&(Ue=Ue.slice(0,-1))),Ue},te=Fe=>{let Ue=Fe;return s&&(Ue=Ue.replace(".",s)),j(Ue)},re=Fe=>{let Ue=Fe;return s&&(Ue=Ue.replaceAll(l,"").replace(s,".")),V(Ue)},ne=Fe=>te(W(Fe)),[de,he]=w.useState(typeof a=="number"?a:typeof D=="number"?D:""),[pe,oe]=w.useState(()=>ne(de)),J=w.useRef(),[Se,be]=w.useState(!1),we=(Fe,Ue)=>{if(!Se||Ue){const Te=ne(Fe);Te!==pe&&oe(Te)}Fe!==de&&he(Fe)},me=typeof c=="number"?c:-1/0,K=typeof u=="number"?u:1/0,ie=w.useRef();ie.current=()=>{var Fe;let Ue;de===""?Ue=(Fe=f??c)!=null?Fe:0:Ue=parseFloat(W(g2(de+h,me,K))),we(Ue,!0),o?.(Ue)};const ce=w.useRef();ce.current=()=>{var Fe;let Ue;de===""?Ue=(Fe=f??c)!=null?Fe:0:Ue=parseFloat(W(g2(de-h,me,K))),we(Ue,!0),o?.(Ue)},r3(P,{increment:ie.current,decrement:ce.current}),w.useEffect(()=>{Se||we(a===void 0?de:a,!0)},[a,Se]);const ue=p!==void 0&&m!==void 0,ve=w.useRef(null),ke=w.useRef(0),Re=()=>{ve.current&&window.clearTimeout(ve.current),ve.current=null,ke.current=0},Me=Fe=>{Fe?ie.current():ce.current(),ke.current+=1},$e=Fe=>{if(Me(Fe),ue){const Ue=typeof m=="number"?m:m(ke.current);ve.current=window.setTimeout(()=>$e(Fe),Ue)}},We=(Fe,Ue)=>{Fe.preventDefault(),J.current.focus(),Me(Ue),ue&&(ve.current=window.setTimeout(()=>$e(Ue),p))};w.useEffect(()=>(Re(),Re),[]);const tt=L.createElement("div",{className:H.rightSection},L.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:de>=u,className:G(H.control,H.controlUp),onPointerDown:Fe=>{We(Fe,!0)},onPointerUp:Re,onPointerLeave:Re},L.createElement(QAe,{size:Ot({size:M,sizes:WAe}),direction:"up"})),L.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:de<=c,className:G(H.control,H.controlDown),onPointerDown:Fe=>{We(Fe,!1)},onPointerUp:Re,onPointerLeave:Re},L.createElement(QAe,{size:Ot({size:M,sizes:WAe}),direction:"down"}))),ot=Fe=>{let Ue=Fe;(Ue[0]===`${s}`||Ue[0]===".")&&(Ue=`0${Ue}`);const Te=parseFloat(W(parseFloat(re(Ue)))),Pe=T?Te:g2(Te,me,K),st=Number.isNaN(Pe)?"":Pe,Xe=de!==st;oe(Fe),we(st),Xe&&o?.(st)},vt=Fe=>{Fe.nativeEvent.isComposing||ot(Fe.target.value)},Ae=Fe=>{be(!0),A?.(Fe)},ee=Fe=>{be(!1),v?.(Fe)},se=Fe=>{if(typeof y=="function"&&y(Fe),Fe.repeat&&ue&&(Fe.key==="ArrowUp"||Fe.key==="ArrowDown")){Fe.preventDefault();return}r||(Fe.key==="ArrowUp"?We(Fe,!0):Fe.key==="ArrowDown"&&We(Fe,!1))},_e=Fe=>{typeof x=="function"&&x(Fe),(Fe.key==="ArrowUp"||Fe.key==="ArrowDown")&&Re()};return L.createElement(une,$Ct(RCt({},le),{type:Z,variant:C,value:pe,disabled:i,readOnly:r,ref:Lp(J,t),onChange:vt,onFocus:Ae,onBlur:ee,onKeyDown:se,onKeyUp:_e,rightSection:$||(i||r||k||C==="unstyled"?null:tt),rightSectionWidth:U??`calc(${Ot({size:M,sizes:k$e})} + ${Ve(1)})`,radius:S,max:u,min:c,step:h,size:M,styles:B,classNames:O,inputMode:Q||NCt(h,N,Vht()),__staticSelector:"NumberInput",unstyled:X}))});Nl.displayName="@mantine/core/NumberInput";const[VCt,v3]=Qf("Pagination.Root component was not found in tree"),QCt={siblings:1,boundaries:1};function E$e(e){const{total:t,value:n,defaultValue:r,onChange:i,disabled:a,children:o,siblings:s,boundaries:l,color:c,radius:u,onNextPage:f,onPreviousPage:h,onFirstPage:m,onLastPage:p,getItemProps:A,classNames:v,styles:y,unstyled:x,variant:k,size:S}=Qt("PaginationRoot",QCt,e),{range:C,setPage:N,next:E,previous:D,active:T,first:P,last:O}=$ht({page:n,initialPage:r,onChange:i,total:t,siblings:s,boundaries:l}),B=Ad(f,E),M=Ad(h,D),$=Ad(m,P),U=Ad(p,O);return L.createElement(VCt,{value:{total:t,range:C,active:T,disabled:a,color:c,radius:u,getItemProps:A,onChange:N,onNext:B,onPrevious:M,onFirst:$,onLast:U,stylesApi:{name:"Pagination",classNames:v,styles:y,unstyled:x,variant:k,size:S}}},o)}const sE={xs:Ve(22),sm:Ve(26),md:Ve(32),lg:Ve(38),xl:Ve(44)};var qCt=ln((e,{color:t,radius:n,withPadding:r},{size:i})=>{const a=e.fn.variant({color:t,variant:"filled"});return{control:{cursor:"pointer",userSelect:"none",display:"flex",alignItems:"center",justifyContent:"center",border:`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,height:Ot({size:i,sizes:sE}),minWidth:Ot({size:i,sizes:sE}),padding:r?`0 calc(${Ot({size:i,sizes:e.spacing})} / 2)`:void 0,fontSize:Ot({size:i,sizes:e.fontSizes}),borderRadius:e.fn.radius(n),lineHeight:1,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,"&:not([data-disabled])":e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[0]}),"&:active:not([data-disabled])":e.activeStyles,"&[data-disabled]":{opacity:.4,cursor:"not-allowed",pointerEvents:"none"},"&[data-active]":{borderColor:"transparent",color:a.color,backgroundColor:a.background,"&:not([data-disabled])":e.fn.hover({backgroundColor:a.hover})}}}}),GCt=Object.defineProperty,WCt=Object.defineProperties,KCt=Object.getOwnPropertyDescriptors,M4=Object.getOwnPropertySymbols,F$e=Object.prototype.hasOwnProperty,D$e=Object.prototype.propertyIsEnumerable,KAe=(e,t,n)=>t in e?GCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YCt=(e,t)=>{for(var n in t||(t={}))F$e.call(t,n)&&KAe(e,n,t[n]);if(M4)for(var n of M4(t))D$e.call(t,n)&&KAe(e,n,t[n]);return e},XCt=(e,t)=>WCt(e,KCt(t)),ZCt=(e,t)=>{var n={};for(var r in e)F$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&M4)for(var r of M4(e))t.indexOf(r)<0&&D$e.call(e,r)&&(n[r]=e[r]);return n};const JCt={withPadding:!0},y3=w.forwardRef((e,t)=>{const n=Qt("PaginationControl",JCt,e),{active:r,className:i,disabled:a,withPadding:o}=n,s=ZCt(n,["active","className","disabled","withPadding"]),l=v3(),{classes:c,cx:u}=qCt({color:l.color,radius:l.radius,withPadding:o},l.stylesApi);return L.createElement(bd,XCt(YCt({},s),{disabled:a,"data-active":r||void 0,"data-disabled":a||void 0,ref:t,className:u(c.control,i)}))});y3.displayName="@mantine/core/PaginationControl";var e_t=Object.defineProperty,t_t=Object.defineProperties,n_t=Object.getOwnPropertyDescriptors,R4=Object.getOwnPropertySymbols,T$e=Object.prototype.hasOwnProperty,O$e=Object.prototype.propertyIsEnumerable,YAe=(e,t,n)=>t in e?e_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ox=(e,t)=>{for(var n in t||(t={}))T$e.call(t,n)&&YAe(e,n,t[n]);if(R4)for(var n of R4(t))O$e.call(t,n)&&YAe(e,n,t[n]);return e},rD=(e,t)=>t_t(e,n_t(t)),r_t=(e,t)=>{var n={};for(var r in e)T$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&R4)for(var r of R4(e))t.indexOf(r)<0&&O$e.call(e,r)&&(n[r]=e[r]);return n};function B$e(e){return`calc(${Ot({size:e,sizes:sE})} / 2)`}function iD(e){var t=e,{size:n,style:r,children:i,path:a}=t,o=r_t(t,["size","style","children","path"]);return L.createElement("svg",ox({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",style:ox({width:n,height:n},r)},o),L.createElement("path",{d:a,fill:"currentColor"}))}const i_t=e=>L.createElement(iD,rD(ox({},e),{path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"})),a_t=e=>L.createElement(iD,rD(ox({},e),{path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"})),o_t=e=>L.createElement(iD,rD(ox({},e),{path:"M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z"})),s_t=e=>L.createElement(iD,rD(ox({},e),{path:"M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z"})),l_t=e=>L.createElement(iD,rD(ox({},e),{path:"M2 8c0-.733.6-1.333 1.333-1.333.734 0 1.334.6 1.334 1.333s-.6 1.333-1.334 1.333C2.6 9.333 2 8.733 2 8zm9.333 0c0-.733.6-1.333 1.334-1.333C13.4 6.667 14 7.267 14 8s-.6 1.333-1.333 1.333c-.734 0-1.334-.6-1.334-1.333zM6.667 8c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 9.333 8 9.333 6.667 8.733 6.667 8z"}));var c_t=ln((e,t,{size:n})=>({dots:{height:Ot({size:n,sizes:sE}),minWidth:Ot({size:n,sizes:sE}),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}})),u_t=Object.defineProperty,$4=Object.getOwnPropertySymbols,I$e=Object.prototype.hasOwnProperty,j$e=Object.prototype.propertyIsEnumerable,XAe=(e,t,n)=>t in e?u_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d_t=(e,t)=>{for(var n in t||(t={}))I$e.call(t,n)&&XAe(e,n,t[n]);if($4)for(var n of $4(t))j$e.call(t,n)&&XAe(e,n,t[n]);return e},f_t=(e,t)=>{var n={};for(var r in e)I$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$4)for(var r of $4(e))t.indexOf(r)<0&&j$e.call(e,r)&&(n[r]=e[r]);return n};const h_t={icon:l_t},dne=w.forwardRef((e,t)=>{const n=Qt("PaginationDots",h_t,e),{className:r,icon:i}=n,a=f_t(n,["className","icon"]),o=v3(),{classes:s,cx:l}=c_t(null,o.stylesApi);return L.createElement(Fn,d_t({ref:t,className:l(s.dots,r)},a),L.createElement(i,{size:B$e(o.stylesApi.size)}))});dne.displayName="@mantine/core/PaginationDots";var m_t=Object.defineProperty,ZAe=Object.getOwnPropertySymbols,p_t=Object.prototype.hasOwnProperty,A_t=Object.prototype.propertyIsEnumerable,JAe=(e,t,n)=>t in e?m_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g_t=(e,t)=>{for(var n in t||(t={}))p_t.call(t,n)&&JAe(e,n,t[n]);if(ZAe)for(var n of ZAe(t))A_t.call(t,n)&&JAe(e,n,t[n]);return e};function fne({dotsIcon:e}){const t=v3(),n=t.range.map((r,i)=>{var a;return r==="dots"?L.createElement(dne,{icon:e,key:i}):L.createElement(y3,g_t({key:i,active:r===t.active,"aria-current":r===t.active?"page":void 0,onClick:()=>t.onChange(r),disabled:t.disabled},(a=t.getItemProps)==null?void 0:a.call(t,r)),r)});return L.createElement(L.Fragment,null,n)}fne.displayName="@mantine/core/PaginationItems";var v_t=ln(e=>({icon:{transform:e.dir==="rtl"?"rotate(180deg)":"unset"}})),y_t=Object.defineProperty,L4=Object.getOwnPropertySymbols,P$e=Object.prototype.hasOwnProperty,M$e=Object.prototype.propertyIsEnumerable,ege=(e,t,n)=>t in e?y_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b_t=(e,t)=>{for(var n in t||(t={}))P$e.call(t,n)&&ege(e,n,t[n]);if(L4)for(var n of L4(t))M$e.call(t,n)&&ege(e,n,t[n]);return e},x_t=(e,t)=>{var n={};for(var r in e)P$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&L4)for(var r of L4(e))t.indexOf(r)<0&&M$e.call(e,r)&&(n[r]=e[r]);return n};function b3({icon:e,name:t,action:n,type:r}){const i={icon:e},a=w.forwardRef((o,s)=>{const l=Qt(t,i,o),{icon:c}=l,u=x_t(l,["icon"]),{classes:f}=v_t(),h=v3(),m=r==="next"?h.active===h.total:h.active===1;return L.createElement(y3,b_t({disabled:h.disabled||m,ref:s,onClick:h[n],withPadding:!1},u),L.createElement(c,{className:f.icon,size:B$e(h.stylesApi.size)}))});return a.displayName=`@mantine/core/${t}`,a}const R$e=b3({icon:i_t,name:"PaginationNext",action:"onNext",type:"next"}),$$e=b3({icon:a_t,name:"PaginationPrevious",action:"onPrevious",type:"previous"}),L$e=b3({icon:o_t,name:"PaginationFirst",action:"onFirst",type:"previous"}),U$e=b3({icon:s_t,name:"PaginationLast",action:"onLast",type:"next"});var w_t=Object.defineProperty,U4=Object.getOwnPropertySymbols,z$e=Object.prototype.hasOwnProperty,H$e=Object.prototype.propertyIsEnumerable,tge=(e,t,n)=>t in e?w_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L_=(e,t)=>{for(var n in t||(t={}))z$e.call(t,n)&&tge(e,n,t[n]);if(U4)for(var n of U4(t))H$e.call(t,n)&&tge(e,n,t[n]);return e},k_t=(e,t)=>{var n={};for(var r in e)z$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&U4)for(var r of U4(e))t.indexOf(r)<0&&H$e.call(e,r)&&(n[r]=e[r]);return n};const S_t={withControls:!0,siblings:1,boundaries:1};function Gf(e){const t=Qt("Pagination",S_t,e),{withEdges:n,withControls:r,classNames:i,styles:a,unstyled:o,variant:s,size:l,total:c,value:u,defaultValue:f,onChange:h,disabled:m,siblings:p,boundaries:A,color:v,radius:y,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:C,getItemProps:N,getControlProps:E,spacing:D,nextIcon:T,previousIcon:P,lastIcon:O,firstIcon:B,dotsIcon:M}=t,$=k_t(t,["withEdges","withControls","classNames","styles","unstyled","variant","size","total","value","defaultValue","onChange","disabled","siblings","boundaries","color","radius","onNextPage","onPreviousPage","onFirstPage","onLastPage","getItemProps","getControlProps","spacing","nextIcon","previousIcon","lastIcon","firstIcon","dotsIcon"]),U=Eu();return c<=0?null:L.createElement(E$e,{classNames:i,styles:a,unstyled:o,variant:s,size:l,total:c,value:u,defaultValue:f,onChange:h,disabled:m,siblings:p,boundaries:A,color:v,radius:y,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:C,getItemProps:N},L.createElement(Wk,L_({spacing:D??`calc(${Ot({size:l,sizes:U.spacing})} / 2)`},$),n&&L.createElement(L$e,L_({icon:B},E?.("first"))),r&&L.createElement($$e,L_({icon:P},E?.("previous"))),L.createElement(fne,{dotsIcon:M}),r&&L.createElement(R$e,L_({icon:T},E?.("next"))),n&&L.createElement(U$e,L_({icon:O},E?.("last")))))}Gf.displayName="@mantine/core/Pagination";Gf.Root=E$e;Gf.Items=fne;Gf.Control=y3;Gf.Dots=dne;Gf.Next=R$e;Gf.Previous=$$e;Gf.Last=U$e;Gf.First=L$e;const nge={xs:Ve(3),sm:Ve(5),md:Ve(8),lg:Ve(12),xl:Ve(16)},C_t=Rx({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${Ve(40)} 0`}});var __t=ln((e,{color:t,radius:n},{size:r})=>({root:{position:"relative",height:Ot({size:r,sizes:nge}),backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderRadius:e.fn.radius(n),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:t||e.primaryColor}).background,transition:"width 100ms linear","&[data-animate]":{animation:`${C_t} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${Ve(20)} ${Ve(20)}`,backgroundImage:"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)"},"&:last-of-type":{borderTopRightRadius:e.fn.radius(n),borderBottomRightRadius:e.fn.radius(n)},"&:first-of-type":{borderTopLeftRadius:e.fn.radius(n),borderBottomLeftRadius:e.fn.radius(n)},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},label:{color:e.white,fontSize:`calc(${Ot({size:r,sizes:nge})} * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}));const V$e=w.createContext(!1),N_t=V$e.Provider,E_t=()=>w.useContext(V$e);function Q$e({children:e,openDelay:t=0,closeDelay:n=0}){return L.createElement(N_t,{value:!0},L.createElement(Hvt,{delay:{open:t,close:n}},e))}Q$e.displayName="@mantine/core/TooltipGroup";var F_t=Object.defineProperty,D_t=Object.defineProperties,T_t=Object.getOwnPropertyDescriptors,rge=Object.getOwnPropertySymbols,O_t=Object.prototype.hasOwnProperty,B_t=Object.prototype.propertyIsEnumerable,ige=(e,t,n)=>t in e?F_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,age=(e,t)=>{for(var n in t||(t={}))O_t.call(t,n)&&ige(e,n,t[n]);if(rge)for(var n of rge(t))B_t.call(t,n)&&ige(e,n,t[n]);return e},I_t=(e,t)=>D_t(e,T_t(t));function j_t(e,t){if(!t)return{backgroundColor:e.colorScheme==="dark"?e.colors.gray[2]:e.colors.gray[9],color:e.colorScheme==="dark"?e.black:e.white};const n=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:n.background,color:n.color}}var q$e=ln((e,{color:t,radius:n,width:r,multiline:i})=>({tooltip:I_t(age(age({},e.fn.fontStyles()),j_t(e,t)),{lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(n),padding:`calc(${e.spacing.xs} / 2) ${e.spacing.xs}`,position:"absolute",whiteSpace:i?"unset":"nowrap",pointerEvents:"none",width:r}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));const G$e={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};function P_t({offset:e,position:t}){const[n,r]=w.useState(!1),i=w.useRef(),{x:a,y:o,reference:s,floating:l,refs:c,update:u,placement:f}=ene({placement:t,middleware:[p3({crossAxis:!0,padding:5,rootBoundary:"document"})]}),h=f.includes("right")?e:t.includes("left")?e*-1:0,m=f.includes("bottom")?e:t.includes("top")?e*-1:0,p=w.useCallback(({clientX:A,clientY:v})=>{s({getBoundingClientRect(){return{width:0,height:0,x:A,y:v,left:A+h,top:v+m,right:A,bottom:v}}})},[s]);return w.useEffect(()=>{if(c.floating.current){const A=i.current;A.addEventListener("mousemove",p);const v=tg(c.floating.current);return v.forEach(y=>{y.addEventListener("scroll",u)}),()=>{A.removeEventListener("mousemove",p),v.forEach(y=>{y.removeEventListener("scroll",u)})}}},[s,c.floating.current,u,p,n]),{handleMouseMove:p,x:a,y:o,opened:n,setOpened:r,boundaryRef:i,floating:l}}var M_t=Object.defineProperty,R_t=Object.defineProperties,$_t=Object.getOwnPropertyDescriptors,z4=Object.getOwnPropertySymbols,W$e=Object.prototype.hasOwnProperty,K$e=Object.prototype.propertyIsEnumerable,oge=(e,t,n)=>t in e?M_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f5=(e,t)=>{for(var n in t||(t={}))W$e.call(t,n)&&oge(e,n,t[n]);if(z4)for(var n of z4(t))K$e.call(t,n)&&oge(e,n,t[n]);return e},h5=(e,t)=>R_t(e,$_t(t)),L_t=(e,t)=>{var n={};for(var r in e)W$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&z4)for(var r of z4(e))t.indexOf(r)<0&&K$e.call(e,r)&&(n[r]=e[r]);return n};const U_t={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:$p("popover")};function Y$e(e){var t;const n=Qt("TooltipFloating",U_t,e),{children:r,refProp:i,withinPortal:a,portalProps:o,style:s,className:l,classNames:c,styles:u,unstyled:f,radius:h,color:m,label:p,offset:A,position:v,multiline:y,width:x,zIndex:k,disabled:S,variant:C}=n,N=L_t(n,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:E,x:D,y:T,opened:P,boundaryRef:O,floating:B,setOpened:M}=P_t({offset:A,position:v}),{classes:$,cx:U}=q$e({radius:h,color:m,multiline:y,width:x},{name:"TooltipFloating",classNames:c,styles:u,unstyled:f,variant:C});if(!YS(r))throw new Error(G$e.children);const j=Lp(O,r.ref),V=X=>{var Z,le;(le=(Z=r.props).onMouseEnter)==null||le.call(Z,X),E(X),M(!0)},Q=X=>{var Z,le;(le=(Z=r.props).onMouseLeave)==null||le.call(Z,X),M(!1)};return L.createElement(L.Fragment,null,L.createElement(tC,h5(f5({},o),{withinPortal:a}),L.createElement(Fn,h5(f5({},N),{ref:B,className:U($.tooltip,l),style:h5(f5({},s),{zIndex:k,display:!S&&P?"block":"none",top:T??"",left:(t=Math.round(D))!=null?t:""})}),p)),w.cloneElement(r,h5(f5({},r.props),{[i]:j,onMouseEnter:V,onMouseLeave:Q})))}Y$e.displayName="@mantine/core/TooltipFloating";function z_t(e){const[t,n]=w.useState(!1),i=typeof e.opened=="boolean"?e.opened:t,a=E_t(),o=$x(),{delay:s,currentId:l,setCurrentId:c}=x4e(),u=w.useCallback(D=>{n(D),D&&c(o)},[c,o]),{x:f,y:h,reference:m,floating:p,context:A,refs:v,update:y,placement:x,middlewareData:{arrow:{x:k,y:S}={}}}=ene({placement:e.position,open:i,onOpenChange:u,middleware:[Yte(e.offset),p3({padding:8}),Xte(),A4e({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[h4e()]:[]]}),{getReferenceProps:C,getFloatingProps:N}=tyt([zvt(A,{enabled:e.events.hover,delay:a?s:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),Jvt(A,{enabled:e.events.focus,keyboardOnly:!0}),eyt(A,{role:"tooltip"}),Zvt(A,{enabled:typeof e.opened===void 0}),Vvt(A,{id:o})]);return k4e({opened:i,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:v,update:y}}),Pl(()=>{var D;(D=e.onPositionChange)==null||D.call(e,x)},[x]),{x:f,y:h,arrowX:k,arrowY:S,reference:m,floating:p,getFloatingProps:N,getReferenceProps:C,isGroupPhase:i&&l&&l!==o,opened:i,placement:x}}var H_t=Object.defineProperty,V_t=Object.defineProperties,Q_t=Object.getOwnPropertyDescriptors,H4=Object.getOwnPropertySymbols,X$e=Object.prototype.hasOwnProperty,Z$e=Object.prototype.propertyIsEnumerable,sge=(e,t,n)=>t in e?H_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L0=(e,t)=>{for(var n in t||(t={}))X$e.call(t,n)&&sge(e,n,t[n]);if(H4)for(var n of H4(t))Z$e.call(t,n)&&sge(e,n,t[n]);return e},R7=(e,t)=>V_t(e,Q_t(t)),q_t=(e,t)=>{var n={};for(var r in e)X$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&H4)for(var r of H4(e))t.indexOf(r)<0&&Z$e.call(e,r)&&(n[r]=e[r]);return n};const G_t={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:$p("popover"),positionDependencies:[]},x3=w.forwardRef((e,t)=>{var n;const r=w.useRef(null),i=Qt("Tooltip",G_t,e),{children:a,position:o,refProp:s,label:l,openDelay:c,closeDelay:u,onPositionChange:f,opened:h,withinPortal:m,portalProps:p,radius:A,color:v,classNames:y,styles:x,unstyled:k,style:S,className:C,withArrow:N,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:P,offset:O,transitionProps:B,multiline:M,width:$,events:U,zIndex:j,disabled:V,positionDependencies:Q,onClick:X,onMouseEnter:Z,onMouseLeave:le,inline:H,variant:G,keepMounted:W}=i,te=q_t(i,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:re,cx:ne,theme:de}=q$e({radius:A,color:v,width:$,multiline:M},{name:"Tooltip",classNames:y,styles:x,unstyled:k,variant:G}),he=z_t({position:I4e(de.dir,o),closeDelay:u,openDelay:c,onPositionChange:f,opened:h,events:U,arrowRef:r,arrowOffset:D,offset:O+(N?E/2:0),positionDependencies:[...Q,a],inline:H});if(!YS(a))throw new Error(G$e.children);const pe=Lp(he.reference,a.ref,t);return L.createElement(L.Fragment,null,L.createElement(tC,R7(L0({},p),{withinPortal:m}),L.createElement(iC,R7(L0({keepMounted:W,mounted:!V&&he.opened},B),{transition:B.transition||"fade",duration:he.isGroupPhase?10:(n=B.duration)!=null?n:100}),oe=>{var J,Se;return L.createElement(Fn,L0(L0({},te),he.getFloatingProps({ref:he.floating,className:re.tooltip,style:R7(L0(L0({},S),oe),{zIndex:j,top:(J=he.y)!=null?J:0,left:(Se=he.x)!=null?Se:0})})),l,L.createElement(nne,{ref:r,arrowX:he.arrowX,arrowY:he.arrowY,visible:N,position:he.placement,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:P,className:re.arrow}))})),w.cloneElement(a,he.getReferenceProps(L0({onClick:X,onMouseEnter:Z,onMouseLeave:le,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[s]:pe,className:ne(C,a.props.className)},a.props))))});x3.Group=Q$e;x3.Floating=Y$e;x3.displayName="@mantine/core/Tooltip";const Vn=x3;var W_t=Object.defineProperty,K_t=Object.defineProperties,Y_t=Object.getOwnPropertyDescriptors,V4=Object.getOwnPropertySymbols,J$e=Object.prototype.hasOwnProperty,e3e=Object.prototype.propertyIsEnumerable,lge=(e,t,n)=>t in e?W_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RY=(e,t)=>{for(var n in t||(t={}))J$e.call(t,n)&&lge(e,n,t[n]);if(V4)for(var n of V4(t))e3e.call(t,n)&&lge(e,n,t[n]);return e},t3e=(e,t)=>K_t(e,Y_t(t)),cge=(e,t)=>{var n={};for(var r in e)J$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&V4)for(var r of V4(e))t.indexOf(r)<0&&e3e.call(e,r)&&(n[r]=e[r]);return n};function X_t(e){return e.reduce((t,n)=>(t.sections.push(t3e(RY({},n),{accumulated:t.accumulated})),t.accumulated+=n.value,t),{accumulated:0,sections:[]}).sections}const Z_t={size:"md",radius:"sm",striped:!1,animate:!1,label:""},hne=w.forwardRef((e,t)=>{const n=Qt("Progress",Z_t,e),{className:r,value:i,color:a,size:o,radius:s,striped:l,animate:c,label:u,"aria-label":f,classNames:h,styles:m,sections:p,unstyled:A,variant:v}=n,y=cge(n,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:x,cx:k,theme:S}=__t({color:a,radius:s},{name:"Progress",classNames:h,styles:m,unstyled:A,variant:v,size:o}),C=Array.isArray(p)?X_t(p).map((N,E)=>{var D=N,{tooltip:T,accumulated:P,value:O,label:B,color:M}=D,$=cge(D,["tooltip","accumulated","value","label","color"]);return L.createElement(Vn.Floating,{label:T,disabled:!T,key:E},L.createElement(Fn,t3e(RY({},$),{className:k(x.bar,$.className),"data-striped":l||c||void 0,"data-animate":c||void 0,sx:{width:`${O}%`,left:`${P}%`,backgroundColor:S.fn.variant({variant:"filled",primaryFallback:!1,color:M||S.primaryColor}).background}}),B&&L.createElement(er,{className:x.label},B)))}):null;return L.createElement(Fn,RY({className:k(x.root,r),ref:t},y),C||L.createElement("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":i,"aria-label":f,className:x.bar,style:{width:`${i}%`},"data-striped":l||c||void 0,"data-animate":c||void 0},u?L.createElement(er,{className:x.label},u):""))});hne.displayName="@mantine/core/Progress";function J_t({data:e,searchable:t,limit:n,searchValue:r,filter:i,value:a,filterDataOnExactSearchMatch:o}){if(!t)return e;const s=a!=null&&e.find(c=>c.value===a)||null;if(s&&!o&&s?.label===r){if(n){if(n>=e.length)return e;const c=e.indexOf(s),u=c+n,f=u-e.length;return f>0?e.slice(c-f):e.slice(c,u)}return e}const l=[];for(let c=0;c<e.length&&(i(r,e[c])&&l.push(e[c]),!(l.length>=n));c+=1);return l}var eNt=ln(()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}})),tNt=Object.defineProperty,nNt=Object.defineProperties,rNt=Object.getOwnPropertyDescriptors,Q4=Object.getOwnPropertySymbols,n3e=Object.prototype.hasOwnProperty,r3e=Object.prototype.propertyIsEnumerable,uge=(e,t,n)=>t in e?tNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U_=(e,t)=>{for(var n in t||(t={}))n3e.call(t,n)&&uge(e,n,t[n]);if(Q4)for(var n of Q4(t))r3e.call(t,n)&&uge(e,n,t[n]);return e},$7=(e,t)=>nNt(e,rNt(t)),iNt=(e,t)=>{var n={};for(var r in e)n3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Q4)for(var r of Q4(e))t.indexOf(r)<0&&r3e.call(e,r)&&(n[r]=e[r]);return n};function aNt(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function oNt(e,t){return!!e&&!t.some(n=>n.label.toLowerCase()===e.toLowerCase())}const sNt={required:!1,size:"sm",shadow:"sm",itemComponent:Ute,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:aNt,maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:oNt,selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:$p("popover"),positionDependencies:[],dropdownPosition:"flip"},ri=w.forwardRef((e,t)=>{const n=A3("Select",sNt,e),{inputProps:r,wrapperProps:i,shadow:a,data:o,value:s,defaultValue:l,onChange:c,itemComponent:u,onKeyDown:f,onBlur:h,onFocus:m,transitionProps:p,initiallyOpened:A,unstyled:v,classNames:y,styles:x,filter:k,maxDropdownHeight:S,searchable:C,clearable:N,nothingFound:E,limit:D,disabled:T,onSearchChange:P,searchValue:O,rightSection:B,rightSectionWidth:M,creatable:$,getCreateLabel:U,shouldCreate:j,selectOnBlur:V,onCreate:Q,dropdownComponent:X,onDropdownClose:Z,onDropdownOpen:le,withinPortal:H,portalProps:G,switchDirectionOnFlip:W,zIndex:te,name:re,dropdownPosition:ne,allowDeselect:de,placeholder:he,filterDataOnExactSearchMatch:pe,form:oe,positionDependencies:J,readOnly:Se,clearButtonProps:be,hoverOnSearchChange:we}=n,me=iNt(n,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:K,cx:ie,theme:ce}=eNt(),[ue,ve]=w.useState(A),[ke,Re]=w.useState(-1),Me=w.useRef(),$e=w.useRef({}),[We,tt]=w.useState("column"),ot=We==="column",{scrollIntoView:vt,targetRef:Ae,scrollableRef:ee}=Ije({duration:0,offset:5,cancelable:!1,isList:!0}),se=de===void 0?N:de,_e=yt=>{if(ue!==yt){ve(yt);const an=yt?le:Z;typeof an=="function"&&an()}},Fe=$&&typeof U=="function";let Ue=null;const Te=o.map(yt=>typeof yt=="string"?{label:yt,value:yt}:yt),Pe=ije({data:Te}),[st,Xe,it]=$c({value:s,defaultValue:l,finalValue:null,onChange:c}),lt=Pe.find(yt=>yt.value===st),[Pt,Ft]=$c({value:O,defaultValue:lt?.label||"",finalValue:void 0,onChange:P}),St=yt=>{Ft(yt),C&&typeof P=="function"&&P(yt)},cn=()=>{var yt;Se||(Xe(null),it||St(""),(yt=Me.current)==null||yt.focus())};w.useEffect(()=>{const yt=Pe.find(an=>an.value===st);yt?St(yt.label):(!Fe||!st)&&St("")},[st]),w.useEffect(()=>{lt&&(!C||!ue)&&St(lt.label)},[lt?.label]);const fn=yt=>{if(!Se)if(se&&lt?.value===yt.value)Xe(null),_e(!1);else{if(yt.creatable&&typeof Q=="function"){const an=Q(yt.value);typeof an<"u"&&an!==null&&Xe(typeof an=="string"?an:an.value)}else Xe(yt.value);it||St(yt.label),Re(-1),_e(!1),Me.current.focus()}},pn=J_t({data:Pe,searchable:C,limit:D,searchValue:Pt,filter:k,filterDataOnExactSearchMatch:pe,value:st});Fe&&j(Pt,pn)&&(Ue=U(Pt),pn.push({label:Pt,value:Pt,creatable:!0}));const Le=(yt,an,Dn)=>{let mn=yt;for(;Dn(mn);)if(mn=an(mn),!pn[mn].disabled)return mn;return yt};Pl(()=>{Re(we&&Pt?0:-1)},[Pt,we]);const ze=st?pn.findIndex(yt=>yt.value===st):0,Je=!Se&&(pn.length>0?ue:ue&&!!E),gt=()=>{Re(yt=>{var an;const Dn=Le(yt,mn=>mn-1,mn=>mn>0);return Ae.current=$e.current[(an=pn[Dn])==null?void 0:an.value],Je&&vt({alignment:ot?"start":"end"}),Dn})},xt=()=>{Re(yt=>{var an;const Dn=Le(yt,mn=>mn+1,mn=>mn<pn.length-1);return Ae.current=$e.current[(an=pn[Dn])==null?void 0:an.value],Je&&vt({alignment:ot?"end":"start"}),Dn})},Gt=()=>window.setTimeout(()=>{var yt;Ae.current=$e.current[(yt=pn[ze])==null?void 0:yt.value],vt({alignment:ot?"end":"start"})},50);Pl(()=>{Je&&Gt()},[Je]);const Kt=yt=>{switch(typeof f=="function"&&f(yt),yt.key){case"ArrowUp":{yt.preventDefault(),ue?ot?gt():xt():(Re(ze),_e(!0),Gt());break}case"ArrowDown":{yt.preventDefault(),ue?ot?xt():gt():(Re(ze),_e(!0),Gt());break}case"Home":{if(!C){yt.preventDefault(),ue||_e(!0);const an=pn.findIndex(Dn=>!Dn.disabled);Re(an),Je&&vt({alignment:ot?"end":"start"})}break}case"End":{if(!C){yt.preventDefault(),ue||_e(!0);const an=pn.map(Dn=>!!Dn.disabled).lastIndexOf(!1);Re(an),Je&&vt({alignment:ot?"end":"start"})}break}case"Escape":{yt.preventDefault(),_e(!1),Re(-1);break}case" ":{C||(yt.preventDefault(),pn[ke]&&ue?fn(pn[ke]):(_e(!0),Re(ze),Gt()));break}case"Enter":C||yt.preventDefault(),pn[ke]&&ue&&(yt.preventDefault(),fn(pn[ke]))}},Wt=yt=>{typeof h=="function"&&h(yt);const an=Pe.find(Dn=>Dn.value===st);V&&pn[ke]&&ue&&fn(pn[ke]),St(an?.label||""),_e(!1)},tn=yt=>{typeof m=="function"&&m(yt),C&&_e(!0)},Sn=yt=>{Se||(St(yt.currentTarget.value),N&&yt.currentTarget.value===""&&Xe(null),Re(-1),_e(!0))},hn=()=>{Se||(_e(!ue),st&&!ue&&Re(ze))};return L.createElement(Ml.Wrapper,$7(U_({},i),{__staticSelector:"Select"}),L.createElement(ay,{opened:Je,transitionProps:p,shadow:a,withinPortal:H,portalProps:G,__staticSelector:"Select",onDirectionChange:tt,switchDirectionOnFlip:W,zIndex:te,dropdownPosition:ne,positionDependencies:[...J,Pt],classNames:y,styles:x,unstyled:v,variant:r.variant},L.createElement(ay.Target,null,L.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":Je?`${r.id}-items`:null,"aria-controls":r.id,"aria-expanded":Je,onMouseLeave:()=>Re(-1),tabIndex:-1},L.createElement("input",{type:"hidden",name:re,value:st||"",form:oe,disabled:T}),L.createElement(Ml,U_($7(U_(U_({autoComplete:"off",type:"search"},r),me),{ref:Lp(t,Me),onKeyDown:Kt,__staticSelector:"Select",value:Pt,placeholder:he,onChange:Sn,"aria-autocomplete":"list","aria-controls":Je?`${r.id}-items`:null,"aria-activedescendant":ke>=0?`${r.id}-${ke}`:null,onMouseDown:hn,onBlur:Wt,onFocus:tn,readOnly:!C||Se,disabled:T,"data-mantine-stop-propagation":Je,name:null,classNames:$7(U_({},y),{input:ie({[K.input]:!C},y?.input)})}),g$e({theme:ce,rightSection:B,rightSectionWidth:M,styles:x,size:r.size,shouldClear:N&&!!lt,onClear:cn,error:i.error,clearButtonProps:be,disabled:T,readOnly:Se}))))),L.createElement(ay.Dropdown,{component:X||c3,maxHeight:S,direction:We,id:r.id,innerRef:ee,__staticSelector:"Select",classNames:y,styles:x},L.createElement(Lte,{data:pn,hovered:ke,classNames:y,styles:x,isItemSelected:yt=>yt===st,uuid:r.id,__staticSelector:"Select",onItemHover:Re,onItemSelect:fn,itemsRefs:$e,itemComponent:u,size:r.size,nothingFound:E,creatable:Fe&&!!Ue,createLabel:Ue,"aria-label":i.label,unstyled:v,variant:r.variant}))))});ri.displayName="@mantine/core/Select";function mne(e,t){if(t.length===0)return t;const n="maxWidth"in t[0]?"maxWidth":"minWidth",r=[...t].sort((i,a)=>Vh(Ot({size:a[n],sizes:e.breakpoints}))-Vh(Ot({size:i[n],sizes:e.breakpoints})));return n==="minWidth"?r.reverse():r}var lNt=Object.defineProperty,dge=Object.getOwnPropertySymbols,cNt=Object.prototype.hasOwnProperty,uNt=Object.prototype.propertyIsEnumerable,fge=(e,t,n)=>t in e?lNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dNt=(e,t)=>{for(var n in t||(t={}))cNt.call(t,n)&&fge(e,n,t[n]);if(dge)for(var n of dge(t))uNt.call(t,n)&&fge(e,n,t[n]);return e},fNt=ln((e,{spacing:t,breakpoints:n,cols:r,verticalSpacing:i})=>{const a=i!=null,o=mne(e,n).reduce((s,l)=>{var c,u;const f="maxWidth"in l?"max-width":"min-width",h=Ot({size:f==="max-width"?l.maxWidth:l.minWidth,sizes:e.breakpoints,units:"em"}),m=Vh(h)-(f==="max-width"?1:0);return s[`@media (${f}: ${XS(m)})`]={gridTemplateColumns:`repeat(${l.cols}, minmax(0, 1fr))`,gap:`${Ot({size:(c=l.verticalSpacing)!=null?c:a?i:t,sizes:e.spacing})} ${Ot({size:(u=l.spacing)!=null?u:t,sizes:e.spacing})}`},s},{});return{root:dNt({boxSizing:"border-box",display:"grid",gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`,gap:`${Ot({size:a?i:t,sizes:e.spacing})} ${Ot({size:t,sizes:e.spacing})}`},o)}}),hNt=Object.defineProperty,q4=Object.getOwnPropertySymbols,i3e=Object.prototype.hasOwnProperty,a3e=Object.prototype.propertyIsEnumerable,hge=(e,t,n)=>t in e?hNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mNt=(e,t)=>{for(var n in t||(t={}))i3e.call(t,n)&&hge(e,n,t[n]);if(q4)for(var n of q4(t))a3e.call(t,n)&&hge(e,n,t[n]);return e},pNt=(e,t)=>{var n={};for(var r in e)i3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&q4)for(var r of q4(e))t.indexOf(r)<0&&a3e.call(e,r)&&(n[r]=e[r]);return n};const ANt={breakpoints:[],cols:1,spacing:"md"},sC=w.forwardRef((e,t)=>{const n=Qt("SimpleGrid",ANt,e),{className:r,breakpoints:i,cols:a,spacing:o,verticalSpacing:s,children:l,unstyled:c,variant:u}=n,f=pNt(n,["className","breakpoints","cols","spacing","verticalSpacing","children","unstyled","variant"]),{classes:h,cx:m}=fNt({breakpoints:i,cols:a,spacing:o,verticalSpacing:s},{name:"SimpleGrid",unstyled:c,variant:u});return L.createElement(Fn,mNt({className:m(h.root,r),ref:t},f),l)});sC.displayName="@mantine/core/SimpleGrid";var gNt=Object.defineProperty,vNt=Object.defineProperties,yNt=Object.getOwnPropertyDescriptors,mge=Object.getOwnPropertySymbols,bNt=Object.prototype.hasOwnProperty,xNt=Object.prototype.propertyIsEnumerable,pge=(e,t,n)=>t in e?gNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wNt=(e,t)=>{for(var n in t||(t={}))bNt.call(t,n)&&pge(e,n,t[n]);if(mge)for(var n of mge(t))xNt.call(t,n)&&pge(e,n,t[n]);return e},kNt=(e,t)=>vNt(e,yNt(t)),SNt=ln((e,{captionSide:t,horizontalSpacing:n,verticalSpacing:r,fontSize:i,withBorder:a,withColumnBorders:o})=>{const s=`${Ve(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`;return{root:kNt(wNt({},e.fn.fontStyles()),{width:"100%",borderCollapse:"collapse",captionSide:t,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,border:a?s:void 0,"& > caption":{marginTop:t==="top"?0:e.spacing.xs,marginBottom:t==="bottom"?0:e.spacing.xs,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6]},"& > thead > tr > th, & > tfoot > tr > th, & > tbody > tr > th":{textAlign:"left",fontWeight:"bold",color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],fontSize:Ot({size:i,sizes:e.fontSizes}),padding:`${Ot({size:r,sizes:e.spacing})} ${Ot({size:n,sizes:e.spacing})}`},"& > thead > tr > th":{borderBottom:s},"& > tfoot > tr > th, & > tbody > tr > th":{borderTop:s},"& > tbody > tr > td":{padding:`${Ot({size:r,sizes:e.spacing})} ${Ot({size:n,sizes:e.spacing})}`,borderTop:s,fontSize:Ot({size:i,sizes:e.fontSizes})},"& > tbody > tr:first-of-type > td, & > tbody > tr:first-of-type > th":{borderTop:"none"},"& > thead > tr > th, & > tbody > tr > td":{borderRight:o?s:"none","&:last-of-type":{borderRight:"none",borderLeft:o?s:"none"}},"& > tbody > tr > th":{borderRight:o?s:"none"},"&[data-striped] > tbody > tr:nth-of-type(odd)":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]},"&[data-hover] > tbody > tr":e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[1]})})}}),CNt=Object.defineProperty,_Nt=Object.defineProperties,NNt=Object.getOwnPropertyDescriptors,G4=Object.getOwnPropertySymbols,o3e=Object.prototype.hasOwnProperty,s3e=Object.prototype.propertyIsEnumerable,Age=(e,t,n)=>t in e?CNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ENt=(e,t)=>{for(var n in t||(t={}))o3e.call(t,n)&&Age(e,n,t[n]);if(G4)for(var n of G4(t))s3e.call(t,n)&&Age(e,n,t[n]);return e},FNt=(e,t)=>_Nt(e,NNt(t)),DNt=(e,t)=>{var n={};for(var r in e)o3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&G4)for(var r of G4(e))t.indexOf(r)<0&&s3e.call(e,r)&&(n[r]=e[r]);return n};const TNt={striped:!1,highlightOnHover:!1,captionSide:"top",horizontalSpacing:"xs",fontSize:"sm",verticalSpacing:7,withBorder:!1,withColumnBorders:!1},go=w.forwardRef((e,t)=>{const n=Qt("Table",TNt,e),{className:r,children:i,striped:a,highlightOnHover:o,captionSide:s,horizontalSpacing:l,verticalSpacing:c,fontSize:u,unstyled:f,withBorder:h,withColumnBorders:m,variant:p}=n,A=DNt(n,["className","children","striped","highlightOnHover","captionSide","horizontalSpacing","verticalSpacing","fontSize","unstyled","withBorder","withColumnBorders","variant"]),{classes:v,cx:y}=SNt({captionSide:s,verticalSpacing:c,horizontalSpacing:l,fontSize:u,withBorder:h,withColumnBorders:m},{unstyled:f,name:"Table",variant:p});return L.createElement(Fn,FNt(ENt({},A),{component:"table",ref:t,className:y(v.root,r),"data-striped":a||void 0,"data-hover":o||void 0}),i)});go.displayName="@mantine/core/Table";var ONt=Object.defineProperty,BNt=Object.defineProperties,INt=Object.getOwnPropertyDescriptors,gge=Object.getOwnPropertySymbols,jNt=Object.prototype.hasOwnProperty,PNt=Object.prototype.propertyIsEnumerable,vge=(e,t,n)=>t in e?ONt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yge=(e,t)=>{for(var n in t||(t={}))jNt.call(t,n)&&vge(e,n,t[n]);if(gge)for(var n of gge(t))PNt.call(t,n)&&vge(e,n,t[n]);return e},MNt=(e,t)=>BNt(e,INt(t));const RNt={xs:Ve(16),sm:Ve(20),md:Ve(26),lg:Ve(32),xl:Ve(40)},$Nt=["filled","light","gradient","outline","default"];function LNt({theme:e,variant:t,color:n,gradient:r}){if(!$Nt.includes(t))return null;const i=e.fn.variant({variant:t,color:n||e.primaryColor,gradient:r,primaryFallback:!1});return{backgroundColor:i.background,color:i.color,backgroundImage:t==="gradient"?i.background:void 0,border:`${Ve(t==="gradient"?0:1)} solid ${i.border}`}}var UNt=ln((e,{color:t,radius:n,gradient:r},{variant:i,size:a})=>{const o=Ot({size:a,sizes:RNt});return{root:yge(MNt(yge({},e.fn.fontStyles()),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:o,height:o,minWidth:o,minHeight:o,borderRadius:e.fn.radius(n)}),LNt({theme:e,variant:i,gradient:r,color:t}))}}),zNt=Object.defineProperty,W4=Object.getOwnPropertySymbols,l3e=Object.prototype.hasOwnProperty,c3e=Object.prototype.propertyIsEnumerable,bge=(e,t,n)=>t in e?zNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,HNt=(e,t)=>{for(var n in t||(t={}))l3e.call(t,n)&&bge(e,n,t[n]);if(W4)for(var n of W4(t))c3e.call(t,n)&&bge(e,n,t[n]);return e},VNt=(e,t)=>{var n={};for(var r in e)l3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&W4)for(var r of W4(e))t.indexOf(r)<0&&c3e.call(e,r)&&(n[r]=e[r]);return n};const QNt={size:"md",variant:"filled"},pne=w.forwardRef((e,t)=>{const n=Qt("ThemeIcon",QNt,e),{className:r,size:i,radius:a,variant:o,color:s,children:l,gradient:c,unstyled:u}=n,f=VNt(n,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:h,cx:m}=UNt({variant:o,radius:a,color:s,gradient:c},{name:"ThemeIcon",unstyled:u,variant:o,size:i});return L.createElement(Fn,HNt({className:m(h.root,r),ref:t},f),l)});pne.displayName="@mantine/core/ThemeIcon";const ZI={Approved:"APPROVED",Pending:"PENDING",Unapproved:"UNAPPROVED"},xge={DoubleEntry:"DOUBLE_ENTRY",SingleEntry:"SINGLE_ENTRY"},wge={Computerized:"COMPUTERIZED",Manual:"MANUAL"},U0={Adverse:"ADVERSE",Disclaimer:"DISCLAIMER",None:"NONE",Qualified:"QUALIFIED",Unqualified:"UNQUALIFIED",UnqualifiedWithGoingConcern:"UNQUALIFIED_WITH_GOING_CONCERN",UnqualifiedWithOtherEmphases:"UNQUALIFIED_WITH_OTHER_EMPHASES"},qNt={Monthly:"MONTHLY"},GNt={Accommodation:"ACCOMMODATION",CarRental:"CAR_RENTAL",Flight:"FLIGHT",Other:"OTHER",TravelAndSubsistence:"TRAVEL_AND_SUBSISTENCE"},Ub={All:"ALL",Expense:"EXPENSE",Income:"INCOME"},Ak={AbsAmount:"ABS_AMOUNT",Amount:"AMOUNT",Date:"DATE"},Vt={Aud:"AUD",Cad:"CAD",Eth:"ETH",Eur:"EUR",Gbp:"GBP",Grt:"GRT",Ils:"ILS",Jpy:"JPY",Sek:"SEK",Usd:"USD",Usdc:"USDC"},kge={Dollars:"DOLLARS",Shekels:"SHEKELS"},WNt={GeneralAndManagement:"GENERAL_AND_MANAGEMENT",Marketing:"MARKETING",ResearchAndDevelopment:"RESEARCH_AND_DEVELOPMENT"},Er={CreditInvoice:"CREDIT_INVOICE",Invoice:"INVOICE",InvoiceReceipt:"INVOICE_RECEIPT",Other:"OTHER",Proforma:"PROFORMA",Receipt:"RECEIPT",Unprocessed:"UNPROCESSED"},u3e={Business:"BUSINESS",Economy:"ECONOMY",FirstClass:"FIRST_CLASS",PremiumEconomy:"PREMIUM_ECONOMY"},He={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Aq:"AQ",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bv:"BV",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gs:"GS",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hm:"HM",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pn:"PN",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tf:"TF",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Um:"UM",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},$Y={English:"ENGLISH",Hebrew:"HEBREW"},rw={ApplePay:"APPLE_PAY",Bit:"BIT",Culo:"CULO",GooglePay:"GOOGLE_PAY",Paybox:"PAYBOX",PayByPepper:"PAY_BY_PEPPER"},iw={AmericanExpress:"AMERICAN_EXPRESS",Diners:"DINERS",Isracard:"ISRACARD",Mastercard:"MASTERCARD",Unknown:"UNKNOWN",Visa:"VISA"},aw={Credit:"CREDIT",Deferred:"DEFERRED",Other:"OTHER",Payments:"PAYMENTS",Recurring:"RECURRING",Standard:"STANDARD"},bv={Bitcoin:"BITCOIN",BuymeVoucher:"BUYME_VOUCHER",Ethereum:"ETHEREUM",GiftCard:"GIFT_CARD",MoneyEqual:"MONEY_EQUAL",NiiEmployeeDeduction:"NII_EMPLOYEE_DEDUCTION",Payoneer:"PAYONEER",VCheck:"V_CHECK"},El={Cash:"CASH",Cheque:"CHEQUE",CreditCard:"CREDIT_CARD",Other:"OTHER",OtherDeduction:"OTHER_DEDUCTION",PaymentApp:"PAYMENT_APP",Paypal:"PAYPAL",TaxDeduction:"TAX_DEDUCTION",WireTransfer:"WIRE_TRANSFER"},v2={Default:"DEFAULT",Exempt:"EXEMPT",Mixed:"MIXED"},m5={None:"NONE",Option_1:"OPTION_1",Option_2Adjustments:"OPTION_2_ADJUSTMENTS",Option_3Adjustments:"OPTION_3_ADJUSTMENTS"},oy={Counterparty:"COUNTERPARTY",Description:"DESCRIPTION",Documents:"DOCUMENTS",Tags:"TAGS",TaxCategory:"TAX_CATEGORY",Transactions:"TRANSACTIONS",Vat:"VAT"},JI={Accrual:"ACCRUAL",Cash:"CASH",DollarRegulations:"DOLLAR_REGULATIONS"},KNt={},YNt={},XNt={},ZNt={},d3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableErrorsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"errorsLedger"},name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]}}]}}]},f3e={},Sge={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},h3e={},m3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeTableTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},p3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ConversionChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversionCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eventRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"officialRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}}]}}]},A3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CreditcardBankChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditCardTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},g3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExchangeRatesInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"exchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"ils"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"eth"}},{kind:"Field",name:{kind:"Name",value:"grt"}},{kind:"Field",name:{kind:"Name",value:"usdc"}}]}}]}}]}}]},JNt={},v3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableMiscExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditMiscExpenseFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditMiscExpenseFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MiscExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},y3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableSalariesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SalaryCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}}]},e2t={},t2t={},n2t={},r2t={},i2t={},a2t={},o2t={},s2t={},l2t={},c2t={},u2t={},d2t={},f2t={},h2t={},m2t={},p2t={},A2t={},g2t={},v2t={},y2t={},b2t={},x2t={},w2t={},k2t={},S2t={},C2t={},_2t={},N2t={},E2t={},F2t={},D2t={},T2t={},b3e={},lE={},O2t={},B2t={},x3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsGalleryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentType"}}]}}]}}]}}]},w3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableLedgerRecordsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"}},{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}}]}}]}}]}}]}}]}}]},Cge={},I2t={},j2t={},P2t={},M2t={},R2t={},k3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},$2t={},L2t={},S3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}}]},U2t={},C3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}}]},_3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}}]},z2t={},H2t={},z0={},V2t={},Q2t={},q2t={},G2t={},W2t={},K2t={},Y2t={},X2t={},Z2t={},J2t={},eEt={},tEt={},nEt={},rEt={},iEt={},aEt={},oEt={},sEt={},N3e={},lEt={},cEt={},_ge={},Nge={},Ege={},Fge={},uEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTransactionsInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"details"}},{kind:"Field",name:{kind:"Name",value:"counterAccount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},E3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTransactionsSummery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignCurrenciesSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},dEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}}]}}]}}]}}]},fEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripsRowValidation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripSummary"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]},hEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditableBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportHeaderFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAttendeesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripUncategorizedTransactionsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCarRentalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportOtherFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportSummaryFields"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"charges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripFlightExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"class"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripFlightExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAccommodationExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"nightsCount"}},{kind:"Field",name:{kind:"Name",value:"attendeesStay"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"nightsCount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAccommodationExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAttendeeRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAttendee"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"arrivalDate"}},{kind:"Field",name:{kind:"Name",value:"departureDate"}},{kind:"Field",name:{kind:"Name",value:"flights"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"accommodations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableEventDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableDebitDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableAccountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableSourceIDFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UncategorizedTransactionsTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UncategorizedTransaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"categorizedAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripTravelAndSubsistenceExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"expenseType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCarRentalRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCarRentalExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"days"}},{kind:"Field",name:{kind:"Name",value:"isFuelExpense"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportOtherRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripOtherExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"deductibleExpense"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportHeaderFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAttendeesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAttendeeRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripUncategorizedTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableEventDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableDebitDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableAccountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableSourceIDFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableEntityFields"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"UncategorizedTransactionsTableAmountFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"flightExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accommodationExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"travelAndSubsistenceExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCarRentalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"carRentalExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCarRentalRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportOtherFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"otherExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportOtherRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportSummaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessTax"}},{kind:"Field",name:{kind:"Name",value:"rows"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"totalForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]},mEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripsScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}}]},pEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinessesForScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesRowFields"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesNameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesHebrewNameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"hebrewName"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesNameFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesHebrewNameFields"}}]}}]},AEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargesLedgerValidation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesWithLedgerChanges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"progress"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},bh={__meta__:{deferredFields:{DocumentsGalleryFields:["id","additionalDocuments"],TableDocumentsFields:["id","additionalDocuments"],TableLedgerRecordsFields:["id","ledger"],ChargeTableTransactionsFields:["id","transactions"],ConversionChargeInfo:["id","__typename"],CreditcardBankChargeInfo:["id","__typename"],TableSalariesFields:["id","__typename"],ChargesTableErrorsFields:["id"],TableMiscExpensesFields:["id","miscExpenses"],ExchangeRatesInfo:["id","__typename"]}},kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"receiptsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"isLedgerLocked"}},{kind:"Field",name:{kind:"Name",value:"openDocuments"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"DocumentsGalleryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableLedgerRecordsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargeTableTransactionsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ConversionChargeInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"CreditcardBankChargeInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableSalariesFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFields"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableErrorsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableMiscExpensesFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ExchangeRatesInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportHeaderFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportSummaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessTax"}},{kind:"Field",name:{kind:"Name",value:"rows"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"totalForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditMiscExpenseFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MiscExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsGalleryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentType"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableLedgerRecordsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"}},{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeTableTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ConversionChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversionCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eventRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"officialRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CreditcardBankChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditCardTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableSalariesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SalaryCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportHeaderFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportSummaryFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableErrorsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"errorsLedger"},name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableMiscExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditMiscExpenseFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ExchangeRatesInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"exchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"ils"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"eth"}},{kind:"Field",name:{kind:"Name",value:"grt"}},{kind:"Field",name:{kind:"Name",value:"usdc"}}]}}]}}]}}]},gEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeForRow"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}}]},vEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BankDepositInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depositByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"isOpen"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},yEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IncomeChargesChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"eventExchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"date"}}]}},{kind:"Field",name:{kind:"Name",value:"debitExchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"date"}}]}}]}}]}}]}}]}}]},bEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyIncomeExpenseChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IncomeExpenseChartFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"incomeExpenseChart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fromDate"}},{kind:"Field",name:{kind:"Name",value:"toDate"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MonthlyIncomeExpenseChartInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"MonthlyIncomeExpenseChartInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IncomeExpenseChart"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"monthlyData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"expense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}}]}}]}}]},xEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UncategorizedTransactionsByBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]}}]}}]},wEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeDepreciation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationRecordsByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationRecordRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DepreciationRecordRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"activationDate"}},{kind:"Field",name:{kind:"Name",value:"category"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]},kEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DocumentsToChargeMatcher"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentsFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsByFilters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DocumentsToMatchFields"}}]}},{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargeToMatchDocumentsFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsToMatchFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeToMatchDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}}]}}]},SEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RecentClientIssuedDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentDocumentsByClient"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"externalId"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},CEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RecentIssuedDocumentsOfSameType"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentType"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentIssuedDocumentsByType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentType"},value:{kind:"Variable",name:{kind:"Name",value:"documentType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},_Et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"exemptDealer"}},{kind:"Field",name:{kind:"Name",value:"governmentId"}},{kind:"Field",name:{kind:"Name",value:"hebrewName"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phoneNumber"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"website"}},{kind:"Field",name:{kind:"Name",value:"suggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phrases"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}}]}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"irsCode"}}]}}]}}]}}]},NEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentById"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatReportDateOverride"}},{kind:"Field",name:{kind:"Name",value:"noVatAmount"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"exchangeRateOverride"}}]}}]}}]}}]},EEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"isFee"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},FEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ClientInfoForDocumentIssuing"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}}]},DEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},F3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllDepreciationCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}}]}}]},D3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllEmployeesByEmployer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"employeesByEmployerId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"employerId"},value:{kind:"Variable",name:{kind:"Name",value:"employerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},TEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllPensionFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allPensionFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},OEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTrainingFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTrainingFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},w3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AttendeesByBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},BEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchMultipleBusinesses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"businessIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},IEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchMultipleCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"invoicesCount"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"Field",name:{kind:"Name",value:"conversion"}},{kind:"Field",name:{kind:"Name",value:"property"}},{kind:"Field",name:{kind:"Name",value:"isInvoicePaymentDifferentCurrency"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"optionalDocuments"}}]}}]}}]},jEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"property"}},{kind:"Field",name:{kind:"Name",value:"conversion"}},{kind:"Field",name:{kind:"Name",value:"isInvoicePaymentDifferentCurrency"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"optionalDocuments"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"yearsOfRelevance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"amount"}}]}}]}}]}}]},PEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"month"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecordsByDates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"month"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"month"}}},{kind:"Argument",name:{kind:"Name",value:"employeeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"employer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsPercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"globalAdditionalHoursAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"bonus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"gift"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"travelAndSubsistence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"recovery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"notionalExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationTakeout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"workDays"}},{kind:"Field",name:{kind:"Name",value:"sicknessDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}}]}}]},MEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SortCodeToUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},REt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TaxCategoryToUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"irsCode"}}]}}]}}]},$Et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MiscExpenseTransactionFields"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"transactionId"}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"exactEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},LEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NewDocumentDraftByCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newDocumentInfoDraftByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},UEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NewDocumentDraftByDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newDocumentInfoDraftByDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},zEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarChargesByBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarChargesByBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"tagsDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}}},{kind:"Argument",name:{kind:"Name",value:"descriptionDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimilarChargesTable"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SimilarChargesTable"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}}]},HEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingTags"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingDescription"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingTags"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingTags"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingDescription"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingDescription"}}},{kind:"Argument",name:{kind:"Name",value:"tagsDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}}},{kind:"Argument",name:{kind:"Name",value:"descriptionDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimilarChargesTable"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SimilarChargesTable"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}}]},VEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarTransactions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingInfo"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}}]}}]},QEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UniformFormat"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uniformFormat"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bkmvdata"}},{kind:"Field",name:{kind:"Name",value:"ini"}}]}}]}}]},qEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountantApprovalsChargesTable"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}}]}}]}}]},GEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllContoReports"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allDynamicReports"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"updated"}}]}}]}}]},WEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContoReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]},KEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TemplateForContoReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dynamicReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"parent"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"droppable"}},{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"descendantSortCodes"}},{kind:"Field",name:{kind:"Name",value:"descendantFinancialEntities"}},{kind:"Field",name:{kind:"Name",value:"mergedSortCodes"}},{kind:"Field",name:{kind:"Name",value:"isOpen"}},{kind:"Field",name:{kind:"Name",value:"hebrewText"}}]}}]}}]}}]}}]},YEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CorporateTaxRulingComplianceReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"years"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"corporateTaxRulingComplianceReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"years"},value:{kind:"Variable",name:{kind:"Name",value:"years"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"totalIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"rndRelativeToIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripRndExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CorporateTaxRulingComplianceReport"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"rndRelativeToIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripRndExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CorporateTaxRule"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"Field",name:{kind:"Name",value:"percentage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"isCompliant"}}]}}]},XEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProfitAndLossReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportYear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profitAndLossReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportYear"},value:{kind:"Variable",name:{kind:"Name",value:"reportYear"}}},{kind:"Argument",name:{kind:"Name",value:"referenceYears"},value:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"report"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"revenue"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"costOfSales"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"grossProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"marketingExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"managementAndGeneralExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"operatingProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"financialExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"otherIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"tax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"netProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"reference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"revenue"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"costOfSales"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"grossProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"marketingExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"managementAndGeneralExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"operatingProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"financialExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"otherIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"tax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"netProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportSubCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentarySubRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"financialEntity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReportSubCommentaryTableFields"}}]}}]}}]}}]},ZEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TaxReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportYear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportYear"},value:{kind:"Variable",name:{kind:"Name",value:"reportYear"}}},{kind:"Argument",name:{kind:"Name",value:"referenceYears"},value:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"report"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesByRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesForTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"fines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"untaxableGifts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripsExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"salaryExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"reserves"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"nontaxableLinkage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxRate"}},{kind:"Field",name:{kind:"Name",value:"specialTaxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"specialTaxRate"}},{kind:"Field",name:{kind:"Name",value:"annualTaxExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"reference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesByRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesForTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"fines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"untaxableGifts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripsExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"salaryExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"reserves"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"nontaxableLinkage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"taxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxRate"}},{kind:"Field",name:{kind:"Name",value:"specialTaxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"specialTaxRate"}},{kind:"Field",name:{kind:"Name",value:"annualTaxExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportSubCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentarySubRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"financialEntity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReportSubCommentaryTableFields"}}]}}]}}]}}]},JEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TrialBalanceReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TrialBalanceTableFields"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TrialBalanceTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]},eFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ValidatePcn874Reports"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromMonthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toMonthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pcnByDate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"fromMonthDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromMonthDate"}}},{kind:"Argument",name:{kind:"Name",value:"toMonthDate"},value:{kind:"Variable",name:{kind:"Name",value:"toMonthDate"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"diffContent"}}]}}]}}]},tFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VatMonthlyReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"VatReportFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vatReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportIncomeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportExpensesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportMissingInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportMiscTableFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportBusinessTripsFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"chargeAccountantStatus"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportIncomeRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportAccountantApprovalFields"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatNumber"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"documentSerial"}},{kind:"Field",name:{kind:"Name",value:"documentDate"}},{kind:"Field",name:{kind:"Name",value:"chargeDate"}},{kind:"Field",name:{kind:"Name",value:"taxReducedForeignAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportExpensesRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportAccountantApprovalFields"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatNumber"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"documentSerial"}},{kind:"Field",name:{kind:"Name",value:"documentDate"}},{kind:"Field",name:{kind:"Name",value:"chargeDate"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localVat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"roundedLocalVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportIncomeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportIncomeRowFields"}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportExpensesRowFields"}},{kind:"Field",name:{kind:"Name",value:"roundedLocalVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportMissingInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportMiscTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"differentMonthDoc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportBusinessTripsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}}]},nFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratePCN"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"monthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"financialEntityId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pcnFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"monthDate"},value:{kind:"Variable",name:{kind:"Name",value:"monthDate"}}},{kind:"Argument",name:{kind:"Name",value:"financialEntityId"},value:{kind:"Variable",name:{kind:"Name",value:"financialEntityId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reportContent"}},{kind:"Field",name:{kind:"Name",value:"fileName"}}]}}]}}]},rFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"YearlyLedger"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"yearlyLedgerReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"financialEntitiesInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"openingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCredit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalDebit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"closingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"counterParty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"LedgerCsvFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LedgerCsvFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"YearlyLedgerReport"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"financialEntitiesInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"openingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCredit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalDebit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"closingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"counterParty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}}]}}]},iFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SalaryScreenRecords"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecordsByDates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}},{kind:"Argument",name:{kind:"Name",value:"employeeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordEmployeeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordMainSalaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"globalAdditionalHoursAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"bonus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"gift"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"recovery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationTakeout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordFundsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsPercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerPercentage"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordInsurancesAndTaxesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"notionalExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordWorkFrameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"}},{kind:"Field",name:{kind:"Name",value:"taken"}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}},{kind:"Field",name:{kind:"Name",value:"workDays"}},{kind:"Field",name:{kind:"Name",value:"sicknessDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordEmployeeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordMainSalaryFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordFundsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordInsurancesAndTaxesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordWorkFrameFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesMonthFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesMonthFields"}}]}}]},aFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},oFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},sFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MissingInfoCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesWithMissingRequiredInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},lFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DocumentsScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentsFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsByFilters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}}]}}]},cFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyDocumentDraftByClient"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMonthlyChargeDraft"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"issueMonth"},value:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},T3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyDocumentsDrafts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMonthlyChargesDrafts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"issueMonth"},value:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},uFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BalanceReportExtendedTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},dFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BalanceReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsForBalanceReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}},{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amountUsd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"isFee"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]}}]},fFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DepreciationReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DepreciationReportFilter"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"categories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"category"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"purchaseDate"}},{kind:"Field",name:{kind:"Name",value:"activationDate"}},{kind:"Field",name:{kind:"Name",value:"statutoryDepreciationRate"}},{kind:"Field",name:{kind:"Name",value:"claimedDepreciationRate"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DepreciationReportRecordCore"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationCoreRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"originalCost"}},{kind:"Field",name:{kind:"Name",value:"reportYearDelta"}},{kind:"Field",name:{kind:"Name",value:"totalDepreciableCosts"}},{kind:"Field",name:{kind:"Name",value:"reportYearClaimedDepreciation"}},{kind:"Field",name:{kind:"Name",value:"pastYearsAccumulatedDepreciation"}},{kind:"Field",name:{kind:"Name",value:"totalDepreciation"}},{kind:"Field",name:{kind:"Name",value:"netValue"}}]}}]},hFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Shaam6111ReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shaam6111"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}},{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContent"}}]}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentHeaderBusiness"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentHeader"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"header"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxYear"}},{kind:"Field",name:{kind:"Name",value:"businessDescription"}},{kind:"Field",name:{kind:"Name",value:"taxFileNumber"}},{kind:"Field",name:{kind:"Name",value:"idNumber"}},{kind:"Field",name:{kind:"Name",value:"vatFileNumber"}},{kind:"Field",name:{kind:"Name",value:"withholdingTaxFileNumber"}},{kind:"Field",name:{kind:"Name",value:"businessType"}},{kind:"Field",name:{kind:"Name",value:"reportingMethod"}},{kind:"Field",name:{kind:"Name",value:"currencyType"}},{kind:"Field",name:{kind:"Name",value:"amountsInThousands"}},{kind:"Field",name:{kind:"Name",value:"accountingMethod"}},{kind:"Field",name:{kind:"Name",value:"accountingSystem"}},{kind:"Field",name:{kind:"Name",value:"softwareRegistrationNumber"}},{kind:"Field",name:{kind:"Name",value:"isPartnership"}},{kind:"Field",name:{kind:"Name",value:"partnershipCount"}},{kind:"Field",name:{kind:"Name",value:"partnershipProfitShare"}},{kind:"Field",name:{kind:"Name",value:"ifrsImplementationYear"}},{kind:"Field",name:{kind:"Name",value:"ifrsReportingOption"}},{kind:"Field",name:{kind:"Name",value:"includesProfitLoss"}},{kind:"Field",name:{kind:"Name",value:"includesTaxAdjustment"}},{kind:"Field",name:{kind:"Name",value:"includesBalanceSheet"}},{kind:"Field",name:{kind:"Name",value:"industryCode"}},{kind:"Field",name:{kind:"Name",value:"auditOpinionType"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentProfitLoss"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"profitAndLoss"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentTaxAdjustment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxAdjustment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentBalanceSheet"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"balanceSheet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContent"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentHeader"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentProfitLoss"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentTaxAdjustment"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentBalanceSheet"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentHeaderBusiness"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Business"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]},mFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllSortCodesForScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},pFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTagsScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditTagFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditTagFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"parent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},AFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTaxCategoriesForScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},gFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripAccommodationsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripAccommodationsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripAccommodationsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},vFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripCarRentalExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripCarRentalExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripCarRentalExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},yFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripFlightsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripFlightsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripFlightsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},bFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripOtherExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripOtherExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripOtherExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},xFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripTravelAndSubsistenceExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripTravelAndSubsistenceExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripTravelAndSubsistenceExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},wFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertDepreciationRecordInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},kFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddSortCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"defaultIrsCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addSortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"defaultIrsCode"},value:{kind:"Variable",name:{kind:"Name",value:"defaultIrsCode"}}}]}]}}]},SFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"tagName"}}}]}]}}]},CFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateBalanceCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"balanceRecords"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertMiscExpenseInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateBalanceCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}},{kind:"Argument",name:{kind:"Name",value:"balanceRecords"},value:{kind:"Variable",name:{kind:"Name",value:"balanceRecords"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},_Ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BatchUpdateCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUpdateCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeIds"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BatchUpdateChargesSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},NFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CategorizeBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CategorizeBusinessTripExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"categorizeBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},EFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CategorizeIntoExistingBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CategorizeIntoExistingBusinessTripExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"categorizeIntoExistingBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},FFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CloseDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"closeDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}]}]}}]},DFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FlagForeignFeeTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"flagForeignFeeTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},TFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeChargesByTransactionReference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeChargesByTransactionReference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},OFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CalculateCreditcardTransactionsDebitDate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calculateCreditcardTransactionsDebitDate"}}]}}]},BFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreditShareholdersBusinessTripTravelAndSubsistence"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditShareholdersBusinessTripTravelAndSubsistence"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}]}]}}]},IFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DeleteBusinessTripAttendeeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},jFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripExpenseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripExpenseId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripExpenseId"}}}]}]}}]},PFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}]}]}}]},MFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"depreciationRecordId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"depreciationRecordId"},value:{kind:"Variable",name:{kind:"Name",value:"depreciationRecordId"}}}]}]}}]},RFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}]}]}}]},$Ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDynamicReportTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDynamicReportTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}]}]}}]},LFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},UFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"tagId"}}}]}]}}]},zFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FetchIncomeDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fetchIncomeDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},HFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllClients"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allClients"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceId"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"originalBusiness"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},VFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllOpenContracts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allOpenContracts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceId"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"originalBusiness"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"purchaseOrder"}},{kind:"Field",name:{kind:"Name",value:"startDate"}},{kind:"Field",name:{kind:"Name",value:"endDate"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"billingCycle"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"product"}},{kind:"Field",name:{kind:"Name",value:"plan"}},{kind:"Field",name:{kind:"Name",value:"signedAgreement"}},{kind:"Field",name:{kind:"Name",value:"msCloud"}}]}}]}}]},QFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinesses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinesses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},qFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]},GFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllFinancialEntities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allFinancialEntities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},WFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},KFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]},YFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTaxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},XFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertBusinessTripAttendeeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},ZFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertBusinessTripInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertBusinessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},JFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertNewBusinessInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertNewBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},eDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"record"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"record"},value:{kind:"Variable",name:{kind:"Name",value:"record"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InsertDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},tDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertDynamicReportTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"template"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDynamicReportTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"template"},value:{kind:"Variable",name:{kind:"Name",value:"template"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},nDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertMiscExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},rDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"salaryRecords"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SalaryRecordInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertSalaryRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"salaryRecords"},value:{kind:"Variable",name:{kind:"Name",value:"salaryRecords"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InsertSalaryRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},iDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertTaxCategory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertTaxCategoryInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertTaxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},aDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"IssueGreenInvoiceDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"emailContent"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"attachment"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issueGreenInvoiceDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}},{kind:"Argument",name:{kind:"Name",value:"emailContent"},value:{kind:"Variable",name:{kind:"Name",value:"emailContent"}}},{kind:"Argument",name:{kind:"Name",value:"attachment"},value:{kind:"Variable",name:{kind:"Name",value:"attachment"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},oDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"IssueMonthlyDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"generateDocumentsInfo"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issueGreenInvoiceDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"generateDocumentsInfo"},value:{kind:"Variable",name:{kind:"Name",value:"generateDocumentsInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},sDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeBusinesses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetBusinessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessIdsToMerge"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeBusinesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetBusinessId"},value:{kind:"Variable",name:{kind:"Name",value:"targetBusinessId"}}},{kind:"Argument",name:{kind:"Name",value:"businessIdsToMerge"},value:{kind:"Variable",name:{kind:"Name",value:"businessIdsToMerge"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},lDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseChargeID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIdsToMerge"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseChargeID"},value:{kind:"Variable",name:{kind:"Name",value:"baseChargeID"}}},{kind:"Argument",name:{kind:"Name",value:"chargeIdsToMerge"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIdsToMerge"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MergeChargeSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},cDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"PreviewGreenInvoiceDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"previewGreenInvoiceDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},uDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RegenerateLedger"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regenerateLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},dDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAccommodationsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripAccommodationsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAccommodationsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},fDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAccountantApproval"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AccountantStatus"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAccountantApproval"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}},{kind:"Argument",name:{kind:"Name",value:"approvalStatus"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}]}}]},hDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAttendeeUpdateInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},mDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripCarRentalExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripCarRentalExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripCarRentalExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},pDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripFlightsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripFlightsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripFlightsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},ADt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripOtherExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripOtherExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripOtherExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},gDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripTravelAndSubsistenceExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripTravelAndSubsistenceExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripTravelAndSubsistenceExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},vDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},yDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateChargeAccountantApproval"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AccountantStatus"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateChargeAccountantApproval"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"approvalStatus"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}]}}]},bDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},xDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateDepreciationRecordInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},wDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateDocumentFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]},kDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateMiscExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},SDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"salaryRecord"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SalaryRecordEditInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSalaryRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"salaryRecord"},value:{kind:"Variable",name:{kind:"Name",value:"salaryRecord"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateSalaryRecordSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecord"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},CDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSortCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateSortCodeFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},_Dt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTagFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"tagId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},NDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTaxCategory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"taxCategoryId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTaxCategoryInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTaxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"taxCategoryId"},value:{kind:"Variable",name:{kind:"Name",value:"taxCategoryId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TaxCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},EDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTransactionInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},FDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadDocumentsFromGoogleDrive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sharedFolderUrl"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUploadDocumentsFromGoogleDrive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sharedFolderUrl"},value:{kind:"Variable",name:{kind:"Name",value:"sharedFolderUrl"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"isSensitive"},value:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UploadDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},DDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadMultipleDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documents"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FileScalar"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUploadDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documents"},value:{kind:"Variable",name:{kind:"Name",value:"documents"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"isSensitive"},value:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UploadDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},TDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadPayrollFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"file"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FileScalar"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertSalaryRecordsFromFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"file"},value:{kind:"Variable",name:{kind:"Name",value:"file"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}]}]}}]},ODt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserContext"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userContext"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminBusinessId"}},{kind:"Field",name:{kind:"Name",value:"defaultLocalCurrency"}},{kind:"Field",name:{kind:"Name",value:"defaultCryptoConversionFiatCurrency"}},{kind:"Field",name:{kind:"Name",value:"ledgerLock"}},{kind:"Field",name:{kind:"Name",value:"financialAccountsBusinessesIds"}}]}}]}}]};function mi(){const{search:e}=Rp(),t=w.useMemo(()=>new URLSearchParams(e),[e]),n=w.useCallback(()=>{if(window.history.pushState){const r=t.keys().next().done?"":`?${t.toString()}`,i=window.location.protocol+"//"+window.location.host+window.location.pathname+r;window.history.pushState({path:i},"",i)}},[t]);return{query:t,queryString:()=>t.toString(),get:r=>t?.get(r),set:(r,i)=>{i==null?t.delete(r):t.set(r,i),n()}}}const ta=w.createContext({filtersContext:null,setFiltersContext:()=>{}});function O3e(e){const[t,n]=w.useState(!1),r=e.moreInfo?e.moreInfo(e.item):null;return d.jsxs(d.Fragment,{children:[d.jsxs("tr",{children:[e.columns.map((i,a)=>i.disabled?null:d.jsx("td",{style:i.style,children:i.value(e.item,e.rowContext?e.rowContext(e.item):void 0)},String(a))),e.moreInfo&&d.jsx("td",{children:r===null?d.jsx("p",{children:"No Data Related"}):d.jsx(Nne,{title:"More Info",onClick:()=>n(!t)})})]}),(e.isShowAll||t)&&r!==null&&d.jsx("tr",{children:d.jsx("td",{colSpan:12,children:d.jsx(xg,{style:{width:"100%"},withBorder:!0,shadow:"lg",children:r})})})]})}function Ane(e){const[t,n]=w.useState(!1);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex flex-row justify-end w-full",children:[e.pagination&&d.jsx(Gf,{className:"flex-auto",...e.pagination}),e.showButton===!0?d.jsx("button",{className:"inline-flex text-white bg-indigo-500 border-0 py-1.5 px-3 focus:outline-hidden hover:bg-indigo-600 rounded-sm text-sm",type:"button",onClick:()=>{n(r=>!r)},children:t?"Hide All":"Show All"}):null]}),d.jsxs(go,{striped:e.striped,highlightOnHover:e.highlightOnHover,children:[d.jsx("thead",{style:e.stickyHeader?{position:"sticky",top:0,zIndex:20}:{},children:d.jsxs("tr",{className:"px-10 py-10 title-font tracking-wider font-medium text-gray-900 text-sm bg-gray-100 rounded-tl rounded-bl",children:[e.columns.map((r,i)=>r.disabled?null:d.jsx("th",{children:r.title},String(i))),e.moreInfo&&d.jsx("th",{children:"More Info"})]})}),d.jsx("tbody",{children:e.items.map((r,i)=>d.jsx(O3e,{columns:e.columns,item:r,moreInfo:e.moreInfo,isShowAll:t,rowContext:e.rowContext},i))})]})]})}function $t(e,t){return t}function cu(e,t,n){const r=e.__meta__?.deferredFields;if(!r)return!0;const a=t.definitions[0]?.name?.value,o=a&&r[a]||[];return o.length>0&&o.every(s=>n&&s in n)}const B3e=6048e5,BDt=864e5,Dge=Symbol.for("constructDateFrom");function Fs(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Dge in e?e[Dge](t):e instanceof Date?new e.constructor(t):new Date(t)}function ea(e,t){return Fs(t||e,e)}function gne(e,t,n){const r=ea(e,n?.in);return isNaN(t)?Fs(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function vne(e,t,n){const r=ea(e,n?.in);if(isNaN(t))return Fs(e,NaN);if(!t)return r;const i=r.getDate(),a=Fs(e,r.getTime());a.setMonth(r.getMonth()+t+1,0);const o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}let IDt={};function aD(){return IDt}function Kk(e,t){const n=aD(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=ea(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function cE(e,t){return Kk(e,{...t,weekStartsOn:1})}function I3e(e,t){const n=ea(e,t?.in),r=n.getFullYear(),i=Fs(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const a=cE(i),o=Fs(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const s=cE(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Tge(e){const t=ea(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function zx(e,...t){const n=Fs.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function uE(e,t){const n=ea(e,t?.in);return n.setHours(0,0,0,0),n}function yne(e,t,n){const[r,i]=zx(n?.in,e,t),a=uE(r),o=uE(i),s=+a-Tge(a),l=+o-Tge(o);return Math.round((s-l)/BDt)}function jDt(e,t){const n=I3e(e,t),r=Fs(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),cE(r)}function PDt(e,t,n){return gne(e,t*7,n)}function j3e(e,t,n){return vne(e,t*12,n)}function MDt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=Fs.bind(null,i));const a=ea(i,r);(!n||n<a||isNaN(+a))&&(n=a)}),Fs(r,n||NaN)}function RDt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=Fs.bind(null,i));const a=ea(i,r);(!n||n>a||isNaN(+a))&&(n=a)}),Fs(r,n||NaN)}function $Dt(e,t,n){const[r,i]=zx(n?.in,e,t);return+uE(r)==+uE(i)}function P3e(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function LDt(e){return!(!P3e(e)&&typeof e!="number"||isNaN(+ea(e)))}function UDt(e,t,n){const[r,i]=zx(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function zDt(e,t,n){const[r,i]=zx(n?.in,e,t),a=Oge(r,i),o=Math.abs(yne(r,i));r.setDate(r.getDate()-a*o);const s=+(Oge(r,i)===-a),l=a*(o-s);return l===0?0:l}function Oge(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function HDt(e,t){const n=ea(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function VDt(e,t){const[n,r]=zx(e,t.start,t.end);return{start:n,end:r}}function QDt(e,t){const{start:n,end:r}=VDt(t?.in,e);let i=+n>+r;const a=i?+n:+r,o=i?r:n;o.setHours(0,0,0,0),o.setDate(1);let s=1;const l=[];for(;+o<=a;)l.push(Fs(n,o)),o.setMonth(o.getMonth()+s);return i?l.reverse():l}function qDt(e,t){const n=ea(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function M3e(e,t){const n=ea(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function k3(e,t){const n=ea(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function R3e(e,t){const n=aD(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=ea(e,t?.in),a=i.getDay(),o=(a<r?-7:0)+6-(a-r);return i.setDate(i.getDate()+o),i.setHours(23,59,59,999),i}function GDt(e,t){return R3e(e,{...t,weekStartsOn:1})}const WDt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},KDt=(e,t,n)=>{let r;const i=WDt[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function L7(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const YDt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},XDt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ZDt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},JDt={date:L7({formats:YDt,defaultWidth:"full"}),time:L7({formats:XDt,defaultWidth:"full"}),dateTime:L7({formats:ZDt,defaultWidth:"full"})},eTt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tTt=(e,t,n,r)=>eTt[e];function z_(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const nTt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},rTt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},iTt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},aTt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},oTt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},sTt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},lTt=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},cTt={ordinalNumber:lTt,era:z_({values:nTt,defaultWidth:"wide"}),quarter:z_({values:rTt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:z_({values:iTt,defaultWidth:"wide"}),day:z_({values:aTt,defaultWidth:"wide"}),dayPeriod:z_({values:oTt,defaultWidth:"wide",formattingValues:sTt,defaultFormattingWidth:"wide"})};function H_(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?dTt(s,f=>f.test(o)):uTt(s,f=>f.test(o));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(o.length);return{value:c,rest:u}}}function uTt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function dTt(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function fTt(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const hTt=/^(\d+)(th|st|nd|rd)?/i,mTt=/\d+/i,pTt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ATt={any:[/^b/i,/^(a|c)/i]},gTt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vTt={any:[/1/i,/2/i,/3/i,/4/i]},yTt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bTt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xTt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},wTt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kTt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},STt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},CTt={ordinalNumber:fTt({matchPattern:hTt,parsePattern:mTt,valueCallback:e=>parseInt(e,10)}),era:H_({matchPatterns:pTt,defaultMatchWidth:"wide",parsePatterns:ATt,defaultParseWidth:"any"}),quarter:H_({matchPatterns:gTt,defaultMatchWidth:"wide",parsePatterns:vTt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:H_({matchPatterns:yTt,defaultMatchWidth:"wide",parsePatterns:bTt,defaultParseWidth:"any"}),day:H_({matchPatterns:xTt,defaultMatchWidth:"wide",parsePatterns:wTt,defaultParseWidth:"any"}),dayPeriod:H_({matchPatterns:kTt,defaultMatchWidth:"any",parsePatterns:STt,defaultParseWidth:"any"})},bne={code:"en-US",formatDistance:KDt,formatLong:JDt,formatRelative:tTt,localize:cTt,match:CTt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _Tt(e,t){const n=ea(e,t?.in);return yne(n,k3(n))+1}function $3e(e,t){const n=ea(e,t?.in),r=+cE(n)-+jDt(n);return Math.round(r/B3e)+1}function L3e(e,t){const n=ea(e,t?.in),r=n.getFullYear(),i=aD(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=Fs(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);const s=Kk(o,t),l=Fs(t?.in||e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const c=Kk(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function NTt(e,t){const n=aD(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=L3e(e,t),a=Fs(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),Kk(a,t)}function U3e(e,t){const n=ea(e,t?.in),r=+Kk(n,t)-+NTt(n,t);return Math.round(r/B3e)+1}function Yi(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const xv={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Yi(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Yi(n+1,2)},d(e,t){return Yi(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Yi(e.getHours()%12||12,t.length)},H(e,t){return Yi(e.getHours(),t.length)},m(e,t){return Yi(e.getMinutes(),t.length)},s(e,t){return Yi(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return Yi(i,t.length)}},ow={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Bge={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return xv.y(e,t)},Y:function(e,t,n,r){const i=L3e(e,r),a=i>0?i:1-i;if(t==="YY"){const o=a%100;return Yi(o,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):Yi(a,t.length)},R:function(e,t){const n=I3e(e);return Yi(n,t.length)},u:function(e,t){const n=e.getFullYear();return Yi(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Yi(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Yi(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return xv.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Yi(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=U3e(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Yi(i,t.length)},I:function(e,t,n){const r=$3e(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Yi(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):xv.d(e,t)},D:function(e,t,n){const r=_Tt(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Yi(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Yi(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Yi(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return Yi(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=ow.noon:r===0?i=ow.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=ow.evening:r>=12?i=ow.afternoon:r>=4?i=ow.morning:i=ow.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return xv.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):xv.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Yi(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Yi(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):xv.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):xv.s(e,t)},S:function(e,t){return xv.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return jge(r);case"XXXX":case"XX":return nb(r);case"XXXXX":case"XXX":default:return nb(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return jge(r);case"xxxx":case"xx":return nb(r);case"xxxxx":case"xxx":default:return nb(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ige(r,":");case"OOOO":default:return"GMT"+nb(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ige(r,":");case"zzzz":default:return"GMT"+nb(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Yi(r,t.length)},T:function(e,t,n){return Yi(+e,t.length)}};function Ige(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+Yi(a,2)}function jge(e,t){return e%60===0?(e>0?"-":"+")+Yi(Math.abs(e)/60,2):nb(e,t)}function nb(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Yi(Math.trunc(r/60),2),a=Yi(r%60,2);return n+i+t+a}const Pge=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},z3e=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ETt=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Pge(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Pge(r,t)).replace("{{time}}",z3e(i,t))},FTt={p:z3e,P:ETt},DTt=/^D+$/,TTt=/^Y+$/,OTt=["D","DD","YY","YYYY"];function BTt(e){return DTt.test(e)}function ITt(e){return TTt.test(e)}function jTt(e,t,n){const r=PTt(e,t,n);if(console.warn(r),OTt.includes(e))throw new RangeError(r)}function PTt(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const MTt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,RTt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$Tt=/^'([^]*?)'?$/,LTt=/''/g,UTt=/[a-zA-Z]/;function Rt(e,t,n){const r=aD(),i=n?.locale??r.locale??bne,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=ea(e,n?.in);if(!LDt(s))throw new RangeError("Invalid time value");let l=t.match(RTt).map(u=>{const f=u[0];if(f==="p"||f==="P"){const h=FTt[f];return h(u,i.formatLong)}return u}).join("").match(MTt).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const f=u[0];if(f==="'")return{isToken:!1,value:zTt(u)};if(Bge[f])return{isToken:!0,value:u};if(f.match(UTt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:u}});i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const c={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return l.map(u=>{if(!u.isToken)return u.value;const f=u.value;(!n?.useAdditionalWeekYearTokens&&ITt(f)||!n?.useAdditionalDayOfYearTokens&&BTt(f))&&jTt(f,t,String(e));const h=Bge[f[0]];return h(s,f,i.localize,c)}).join("")}function zTt(e){const t=e.match($Tt);return t?t[1].replace(LTt,"'"):e}function HTt(e,t){const n=ea(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=Fs(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function VTt(e,t){return ea(e,t?.in).getMonth()}function QTt(e,t){return ea(e,t?.in).getFullYear()}function qTt(e,t){return+ea(e)>+ea(t)}function GTt(e,t){return+ea(e)<+ea(t)}function WTt(e,t,n){const[r,i]=zx(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function KTt(e,t,n){const[r,i]=zx(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function YTt(e,t,n){return gne(e,-t,n)}function XTt(e,t,n){const r=ea(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=Fs(e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);const s=HTt(o);return r.setMonth(t,Math.min(a,s)),r}function Mge(e,t,n){const r=ea(e,n?.in);return r.setHours(t),r}function ZTt(e,t,n){const r=ea(e,n?.in);return isNaN(+r)?Fs(e,NaN):(r.setFullYear(t),r)}function xne(e,t,n){return vne(e,-t,n)}function oD(e,t,n){const{years:r=0,months:i=0,weeks:a=0,days:o=0,hours:s=0,minutes:l=0,seconds:c=0}=t,u=xne(e,i+r*12,n),f=YTt(u,o+a*7,n),h=l+s*60,p=(c+h*60)*1e3;return Fs(e,+f-p)}function wne(e,t,n){return j3e(e,-1,n)}function JTt(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const eOt=e=>{switch(e){case"success":return rOt;case"info":return aOt;case"warning":return iOt;case"error":return oOt;default:return null}},tOt=Array(12).fill(0),nOt=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},tOt.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),rOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),iOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),aOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),oOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),sOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),lOt=()=>{const[e,t]=L.useState(document.hidden);return L.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let LY=1;class cOt{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...i}=t,a=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:LY++,o=this.toasts.find(l=>l.id===a),s=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),o?this.toasts=this.toasts.map(l=>l.id===a?(this.publish({...l,...t,id:a,title:r}),{...l,...t,id:a,dismissible:s,title:r}):l):this.addToast({title:r,...i,dismissible:s,id:a}),a},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let a=r!==void 0,o;const s=i.then(async c=>{if(o=["resolve",c],L.isValidElement(c))a=!1,this.create({id:r,type:"default",message:c});else if(dOt(c)&&!c.ok){a=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description,p=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...p})}else if(c instanceof Error){a=!1;const f=typeof n.error=="function"?await n.error(c):n.error,h=typeof n.description=="function"?await n.description(c):n.description,p=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...p})}else if(n.success!==void 0){a=!1;const f=typeof n.success=="function"?await n.success(c):n.success,h=typeof n.description=="function"?await n.description(c):n.description,p=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...p})}}).catch(async c=>{if(o=["reject",c],n.error!==void 0){a=!1;const u=typeof n.error=="function"?await n.error(c):n.error,f=typeof n.description=="function"?await n.description(c):n.description,m=typeof u=="object"&&!L.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{a&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((c,u)=>s.then(()=>o[0]==="reject"?u(o[1]):c(o[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=n?.id||LY++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const uu=new cOt,uOt=(e,t)=>{const n=t?.id||LY++;return uu.addToast({title:e,...t,id:n}),n},dOt=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",fOt=uOt,hOt=()=>uu.toasts,mOt=()=>uu.getActiveToasts(),qe=Object.assign(fOt,{success:uu.success,info:uu.info,warning:uu.warning,error:uu.error,custom:uu.custom,message:uu.message,promise:uu.promise,dismiss:uu.dismiss,loading:uu.loading},{getHistory:hOt,getToasts:mOt});JTt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function p5(e){return e.label!==void 0}const pOt=3,AOt="24px",gOt="16px",Rge=4e3,vOt=356,yOt=14,bOt=45,xOt=200;function Pm(...e){return e.filter(Boolean).join(" ")}function wOt(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const kOt=e=>{var t,n,r,i,a,o,s,l,c;const{invert:u,toast:f,unstyled:h,interacting:m,setHeights:p,visibleToasts:A,heights:v,index:y,toasts:x,expanded:k,removeToast:S,defaultRichColors:C,closeButton:N,style:E,cancelButtonStyle:D,actionButtonStyle:T,className:P="",descriptionClassName:O="",duration:B,position:M,gap:$,expandByDefault:U,classNames:j,icons:V,closeButtonAriaLabel:Q="Close toast"}=e,[X,Z]=L.useState(null),[le,H]=L.useState(null),[G,W]=L.useState(!1),[te,re]=L.useState(!1),[ne,de]=L.useState(!1),[he,pe]=L.useState(!1),[oe,J]=L.useState(!1),[Se,be]=L.useState(0),[we,me]=L.useState(0),K=L.useRef(f.duration||B||Rge),ie=L.useRef(null),ce=L.useRef(null),ue=y===0,ve=y+1<=A,ke=f.type,Re=f.dismissible!==!1,Me=f.className||"",$e=f.descriptionClassName||"",We=L.useMemo(()=>v.findIndex(St=>St.toastId===f.id)||0,[v,f.id]),tt=L.useMemo(()=>{var St;return(St=f.closeButton)!=null?St:N},[f.closeButton,N]),ot=L.useMemo(()=>f.duration||B||Rge,[f.duration,B]),vt=L.useRef(0),Ae=L.useRef(0),ee=L.useRef(0),se=L.useRef(null),[_e,Fe]=M.split("-"),Ue=L.useMemo(()=>v.reduce((St,cn,fn)=>fn>=We?St:St+cn.height,0),[v,We]),Te=lOt(),Pe=f.invert||u,st=ke==="loading";Ae.current=L.useMemo(()=>We*$+Ue,[We,Ue]),L.useEffect(()=>{K.current=ot},[ot]),L.useEffect(()=>{W(!0)},[]),L.useEffect(()=>{const St=ce.current;if(St){const cn=St.getBoundingClientRect().height;return me(cn),p(fn=>[{toastId:f.id,height:cn,position:f.position},...fn]),()=>p(fn=>fn.filter(pn=>pn.toastId!==f.id))}},[p,f.id]),L.useLayoutEffect(()=>{if(!G)return;const St=ce.current,cn=St.style.height;St.style.height="auto";const fn=St.getBoundingClientRect().height;St.style.height=cn,me(fn),p(pn=>pn.find(ze=>ze.toastId===f.id)?pn.map(ze=>ze.toastId===f.id?{...ze,height:fn}:ze):[{toastId:f.id,height:fn,position:f.position},...pn])},[G,f.title,f.description,p,f.id,f.jsx,f.action,f.cancel]);const Xe=L.useCallback(()=>{re(!0),be(Ae.current),p(St=>St.filter(cn=>cn.toastId!==f.id)),setTimeout(()=>{S(f)},xOt)},[f,S,p,Ae]);L.useEffect(()=>{if(f.promise&&ke==="loading"||f.duration===1/0||f.type==="loading")return;let St;return k||m||Te?(()=>{if(ee.current<vt.current){const pn=new Date().getTime()-vt.current;K.current=K.current-pn}ee.current=new Date().getTime()})():(()=>{K.current!==1/0&&(vt.current=new Date().getTime(),St=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Xe()},K.current))})(),()=>clearTimeout(St)},[k,m,f,ke,Te,Xe]),L.useEffect(()=>{f.delete&&(Xe(),f.onDismiss==null||f.onDismiss.call(f,f))},[Xe,f.delete]);function it(){var St;if(V?.loading){var cn;return L.createElement("div",{className:Pm(j?.loader,f==null||(cn=f.classNames)==null?void 0:cn.loader,"sonner-loader"),"data-visible":ke==="loading"},V.loading)}return L.createElement(nOt,{className:Pm(j?.loader,f==null||(St=f.classNames)==null?void 0:St.loader),visible:ke==="loading"})}const lt=f.icon||V?.[ke]||eOt(ke);var Pt,Ft;return L.createElement("li",{tabIndex:0,ref:ce,className:Pm(P,Me,j?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,j?.default,j?.[ke],f==null||(n=f.classNames)==null?void 0:n[ke]),"data-sonner-toast":"","data-rich-colors":(Pt=f.richColors)!=null?Pt:C,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":G,"data-promise":!!f.promise,"data-swiped":oe,"data-removed":te,"data-visible":ve,"data-y-position":_e,"data-x-position":Fe,"data-index":y,"data-front":ue,"data-swiping":ne,"data-dismissible":Re,"data-type":ke,"data-invert":Pe,"data-swipe-out":he,"data-swipe-direction":le,"data-expanded":!!(k||U&&G),"data-testid":f.testId,style:{"--index":y,"--toasts-before":y,"--z-index":x.length-y,"--offset":`${te?Se:Ae.current}px`,"--initial-height":U?"auto":`${we}px`,...E,...f.style},onDragEnd:()=>{de(!1),Z(null),se.current=null},onPointerDown:St=>{St.button!==2&&(st||!Re||(ie.current=new Date,be(Ae.current),St.target.setPointerCapture(St.pointerId),St.target.tagName!=="BUTTON"&&(de(!0),se.current={x:St.clientX,y:St.clientY})))},onPointerUp:()=>{var St,cn,fn;if(he||!Re)return;se.current=null;const pn=Number(((St=ce.current)==null?void 0:St.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Le=Number(((cn=ce.current)==null?void 0:cn.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ze=new Date().getTime()-((fn=ie.current)==null?void 0:fn.getTime()),Je=X==="x"?pn:Le,gt=Math.abs(Je)/ze;if(Math.abs(Je)>=bOt||gt>.11){be(Ae.current),f.onDismiss==null||f.onDismiss.call(f,f),H(X==="x"?pn>0?"right":"left":Le>0?"down":"up"),Xe(),pe(!0);return}else{var xt,Gt;(xt=ce.current)==null||xt.style.setProperty("--swipe-amount-x","0px"),(Gt=ce.current)==null||Gt.style.setProperty("--swipe-amount-y","0px")}J(!1),de(!1),Z(null)},onPointerMove:St=>{var cn,fn,pn;if(!se.current||!Re||((cn=window.getSelection())==null?void 0:cn.toString().length)>0)return;const ze=St.clientY-se.current.y,Je=St.clientX-se.current.x;var gt;const xt=(gt=e.swipeDirections)!=null?gt:wOt(M);!X&&(Math.abs(Je)>1||Math.abs(ze)>1)&&Z(Math.abs(Je)>Math.abs(ze)?"x":"y");let Gt={x:0,y:0};const Kt=Wt=>1/(1.5+Math.abs(Wt)/20);if(X==="y"){if(xt.includes("top")||xt.includes("bottom"))if(xt.includes("top")&&ze<0||xt.includes("bottom")&&ze>0)Gt.y=ze;else{const Wt=ze*Kt(ze);Gt.y=Math.abs(Wt)<Math.abs(ze)?Wt:ze}}else if(X==="x"&&(xt.includes("left")||xt.includes("right")))if(xt.includes("left")&&Je<0||xt.includes("right")&&Je>0)Gt.x=Je;else{const Wt=Je*Kt(Je);Gt.x=Math.abs(Wt)<Math.abs(Je)?Wt:Je}(Math.abs(Gt.x)>0||Math.abs(Gt.y)>0)&&J(!0),(fn=ce.current)==null||fn.style.setProperty("--swipe-amount-x",`${Gt.x}px`),(pn=ce.current)==null||pn.style.setProperty("--swipe-amount-y",`${Gt.y}px`)}},tt&&!f.jsx&&ke!=="loading"?L.createElement("button",{"aria-label":Q,"data-disabled":st,"data-close-button":!0,onClick:st||!Re?()=>{}:()=>{Xe(),f.onDismiss==null||f.onDismiss.call(f,f)},className:Pm(j?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(Ft=V?.close)!=null?Ft:sOt):null,(ke||f.icon||f.promise)&&f.icon!==null&&(V?.[ke]!==null||f.icon)?L.createElement("div",{"data-icon":"",className:Pm(j?.icon,f==null||(i=f.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||it():null,f.type!=="loading"?lt:null):null,L.createElement("div",{"data-content":"",className:Pm(j?.content,f==null||(a=f.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Pm(j?.title,f==null||(o=f.classNames)==null?void 0:o.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?L.createElement("div",{"data-description":"",className:Pm(O,$e,j?.description,f==null||(s=f.classNames)==null?void 0:s.description)},typeof f.description=="function"?f.description():f.description):null),L.isValidElement(f.cancel)?f.cancel:f.cancel&&p5(f.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||D,onClick:St=>{p5(f.cancel)&&Re&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,St),Xe())},className:Pm(j?.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,L.isValidElement(f.action)?f.action:f.action&&p5(f.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||T,onClick:St=>{p5(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,St),!St.defaultPrevented&&Xe())},className:Pm(j?.actionButton,f==null||(c=f.classNames)==null?void 0:c.actionButton)},f.action.label):null)};function $ge(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function SOt(e,t){const n={};return[e,t].forEach((r,i)=>{const a=i===1,o=a?"--mobile-offset":"--offset",s=a?gOt:AOt;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=s:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(s)}),n}const COt=L.forwardRef(function(t,n){const{id:r,invert:i,position:a="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:l,className:c,offset:u,mobileOffset:f,theme:h="light",richColors:m,duration:p,style:A,visibleToasts:v=pOt,toastOptions:y,dir:x=$ge(),gap:k=yOt,icons:S,containerAriaLabel:C="Notifications"}=t,[N,E]=L.useState([]),D=L.useMemo(()=>r?N.filter(G=>G.toasterId===r):N.filter(G=>!G.toasterId),[N,r]),T=L.useMemo(()=>Array.from(new Set([a].concat(D.filter(G=>G.position).map(G=>G.position)))),[D,a]),[P,O]=L.useState([]),[B,M]=L.useState(!1),[$,U]=L.useState(!1),[j,V]=L.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Q=L.useRef(null),X=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),Z=L.useRef(null),le=L.useRef(!1),H=L.useCallback(G=>{E(W=>{var te;return(te=W.find(re=>re.id===G.id))!=null&&te.delete||uu.dismiss(G.id),W.filter(({id:re})=>re!==G.id)})},[]);return L.useEffect(()=>uu.subscribe(G=>{if(G.dismiss){requestAnimationFrame(()=>{E(W=>W.map(te=>te.id===G.id?{...te,delete:!0}:te))});return}setTimeout(()=>{$Ie.flushSync(()=>{E(W=>{const te=W.findIndex(re=>re.id===G.id);return te!==-1?[...W.slice(0,te),{...W[te],...G},...W.slice(te+1)]:[G,...W]})})})}),[N]),L.useEffect(()=>{if(h!=="system"){V(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;const G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:W})=>{V(W?"dark":"light")})}catch{G.addListener(({matches:te})=>{try{V(te?"dark":"light")}catch(re){console.error(re)}})}},[h]),L.useEffect(()=>{N.length<=1&&M(!1)},[N]),L.useEffect(()=>{const G=W=>{var te;if(o.every(de=>W[de]||W.code===de)){var ne;M(!0),(ne=Q.current)==null||ne.focus()}W.code==="Escape"&&(document.activeElement===Q.current||(te=Q.current)!=null&&te.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[o]),L.useEffect(()=>{if(Q.current)return()=>{Z.current&&(Z.current.focus({preventScroll:!0}),Z.current=null,le.current=!1)}},[Q.current]),L.createElement("section",{ref:n,"aria-label":`${C} ${X}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((G,W)=>{var te;const[re,ne]=G.split("-");return D.length?L.createElement("ol",{key:G,dir:x==="auto"?$ge():x,tabIndex:-1,ref:Q,className:c,"data-sonner-toaster":!0,"data-sonner-theme":j,"data-y-position":re,"data-x-position":ne,style:{"--front-toast-height":`${((te=P[0])==null?void 0:te.height)||0}px`,"--width":`${vOt}px`,"--gap":`${k}px`,...A,...SOt(u,f)},onBlur:de=>{le.current&&!de.currentTarget.contains(de.relatedTarget)&&(le.current=!1,Z.current&&(Z.current.focus({preventScroll:!0}),Z.current=null))},onFocus:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||le.current||(le.current=!0,Z.current=de.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{$||M(!1)},onDragEnd:()=>M(!1),onPointerDown:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||U(!0)},onPointerUp:()=>U(!1)},D.filter(de=>!de.position&&W===0||de.position===G).map((de,he)=>{var pe,oe;return L.createElement(kOt,{key:de.id,icons:S,index:he,toast:de,defaultRichColors:m,duration:(pe=y?.duration)!=null?pe:p,className:y?.className,descriptionClassName:y?.descriptionClassName,invert:i,visibleToasts:v,closeButton:(oe=y?.closeButton)!=null?oe:l,interacting:$,position:G,style:y?.style,unstyled:y?.unstyled,classNames:y?.classNames,cancelButtonStyle:y?.cancelButtonStyle,actionButtonStyle:y?.actionButtonStyle,closeButtonAriaLabel:y?.closeButtonAriaLabel,removeToast:H,toasts:D.filter(J=>J.position==de.position),heights:P.filter(J=>J.position==de.position),setHeights:O,expandByDefault:s,gap:k,expanded:B,swipeDirections:t.swipeDirections})})):null}))});function Gn(e,t,n,r){try{if(e.error){const{error:i}=e;if(i.graphQLErrors?.[0]?.extensions?.code){const a=i.graphQLErrors[0],{message:o,extensions:{code:s}}=a;throw console.error(`Error ${s} - ${t}: ${a}`),new Error(o)}throw console.error(i),new Error(`${t}: Error occurred`)}if(!e.data)throw new Error(`${t}: No data`);if(r&&typeof e.data=="object"){const i=e.data;if(r in i&&typeof i[r]=="object"){const a=i[r];if("__typename"in a&&a.__typename==="CommonError")throw console.error(`${t}: ${a}`),new Error(a.message)}}return e.data}catch(i){qe.error("Error",{id:n,description:i.message,duration:1e5,closeButton:!0});return}}const _Ot="updateBusinessTripAccountantApproval",NOt=()=>{const[{fetching:e},t]=qn(fDt),n=w.useCallback(async r=>{const i=`Error toggling accountant approval for trip [${r.businessTripId}]`,a=`${_Ot}-${r.businessTripId}`;qe.loading("Updating accountant approval status",{id:a});try{const o=await t(r),s=Gn(o,i,a);if(s)return qe.success("Success",{id:a,description:"Accountant approval status updated"}),s.updateBusinessTripAccountantApproval}catch(o){console.error(`${i}: ${o}`),qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,updateBusinessTripAccountantApproval:n}};function EOt({data:e,onChange:t}){const n=$t(t2t,e),[r,i]=w.useState(n.accountantApproval),{updateBusinessTripAccountantApproval:a}=NOt();return w.useEffect(()=>{r==null&&n.accountantApproval!=null&&i(n.accountantApproval)},[r,n.accountantApproval]),d.jsx(Lae,{value:r,onChange:o=>a({businessTripId:n.id,status:o}).then(t)})}/**
111
- * @license lucide-react v0.543.0 - ISC
111
+ * @license lucide-react v0.542.0 - ISC
112
112
  *
113
113
  * This source code is licensed under the ISC license.
114
114
  * See the LICENSE file in the root directory of this source tree.
115
115
  */const FOt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),DOt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Lge=e=>{const t=DOt(e);return t.charAt(0).toUpperCase()+t.slice(1)},H3e=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),TOt=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
116
- * @license lucide-react v0.543.0 - ISC
116
+ * @license lucide-react v0.542.0 - ISC
117
117
  *
118
118
  * This source code is licensed under the ISC license.
119
119
  * See the LICENSE file in the root directory of this source tree.
120
120
  */var OOt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
121
- * @license lucide-react v0.543.0 - ISC
121
+ * @license lucide-react v0.542.0 - ISC
122
122
  *
123
123
  * This source code is licensed under the ISC license.
124
124
  * See the LICENSE file in the root directory of this source tree.
125
125
  */const BOt=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:o,...s},l)=>w.createElement("svg",{ref:l,...OOt,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:H3e("lucide",i),...!a&&!TOt(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,u])=>w.createElement(c,u)),...Array.isArray(a)?a:[a]]));/**
126
- * @license lucide-react v0.543.0 - ISC
126
+ * @license lucide-react v0.542.0 - ISC
127
127
  *
128
128
  * This source code is licensed under the ISC license.
129
129
  * See the LICENSE file in the root directory of this source tree.
130
130
  */const qt=(e,t)=>{const n=w.forwardRef(({className:r,...i},a)=>w.createElement(BOt,{ref:a,iconNode:t,className:H3e(`lucide-${FOt(Lge(e))}`,`lucide-${e}`,r),...i}));return n.displayName=Lge(e),n};/**
131
- * @license lucide-react v0.543.0 - ISC
131
+ * @license lucide-react v0.542.0 - ISC
132
132
  *
133
133
  * This source code is licensed under the ISC license.
134
134
  * See the LICENSE file in the root directory of this source tree.
135
135
  */const IOt=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],jOt=qt("arrow-down-0-1",IOt);/**
136
- * @license lucide-react v0.543.0 - ISC
136
+ * @license lucide-react v0.542.0 - ISC
137
137
  *
138
138
  * This source code is licensed under the ISC license.
139
139
  * See the LICENSE file in the root directory of this source tree.
140
140
  */const POt=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],MOt=qt("arrow-down-wide-narrow",POt);/**
141
- * @license lucide-react v0.543.0 - ISC
141
+ * @license lucide-react v0.542.0 - ISC
142
142
  *
143
143
  * This source code is licensed under the ISC license.
144
144
  * See the LICENSE file in the root directory of this source tree.
145
145
  */const ROt=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]],$Ot=qt("arrow-left-right",ROt);/**
146
- * @license lucide-react v0.543.0 - ISC
146
+ * @license lucide-react v0.542.0 - ISC
147
147
  *
148
148
  * This source code is licensed under the ISC license.
149
149
  * See the LICENSE file in the root directory of this source tree.
150
150
  */const LOt=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],UOt=qt("arrow-right-left",LOt);/**
151
- * @license lucide-react v0.543.0 - ISC
151
+ * @license lucide-react v0.542.0 - ISC
152
152
  *
153
153
  * This source code is licensed under the ISC license.
154
154
  * See the LICENSE file in the root directory of this source tree.
155
155
  */const zOt=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],cd=qt("arrow-up-down",zOt);/**
156
- * @license lucide-react v0.543.0 - ISC
156
+ * @license lucide-react v0.542.0 - ISC
157
157
  *
158
158
  * This source code is licensed under the ISC license.
159
159
  * See the LICENSE file in the root directory of this source tree.
160
160
  */const HOt=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],VOt=qt("badge-dollar-sign",HOt);/**
161
- * @license lucide-react v0.543.0 - ISC
161
+ * @license lucide-react v0.542.0 - ISC
162
162
  *
163
163
  * This source code is licensed under the ISC license.
164
164
  * See the LICENSE file in the root directory of this source tree.
165
165
  */const QOt=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M8 5v14",key:"1ybrkv"}],["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"M17 5v14",key:"ycjyhj"}],["path",{d:"M21 5v14",key:"nzette"}]],Uge=qt("barcode",QOt);/**
166
- * @license lucide-react v0.543.0 - ISC
166
+ * @license lucide-react v0.542.0 - ISC
167
167
  *
168
168
  * This source code is licensed under the ISC license.
169
169
  * See the LICENSE file in the root directory of this source tree.
170
170
  */const qOt=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],GOt=qt("book-open-check",qOt);/**
171
- * @license lucide-react v0.543.0 - ISC
171
+ * @license lucide-react v0.542.0 - ISC
172
172
  *
173
173
  * This source code is licensed under the ISC license.
174
174
  * See the LICENSE file in the root directory of this source tree.
175
175
  */const WOt=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],KOt=qt("book",WOt);/**
176
- * @license lucide-react v0.543.0 - ISC
176
+ * @license lucide-react v0.542.0 - ISC
177
177
  *
178
178
  * This source code is licensed under the ISC license.
179
179
  * See the LICENSE file in the root directory of this source tree.
180
180
  */const YOt=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]],zge=qt("bookmark",YOt);/**
181
- * @license lucide-react v0.543.0 - ISC
181
+ * @license lucide-react v0.542.0 - ISC
182
182
  *
183
183
  * This source code is licensed under the ISC license.
184
184
  * See the LICENSE file in the root directory of this source tree.
185
185
  */const XOt=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],ZOt=qt("building-2",XOt);/**
186
- * @license lucide-react v0.543.0 - ISC
186
+ * @license lucide-react v0.542.0 - ISC
187
187
  *
188
188
  * This source code is licensed under the ISC license.
189
189
  * See the LICENSE file in the root directory of this source tree.
190
190
  */const JOt=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],e5t=qt("calculator",JOt);/**
191
- * @license lucide-react v0.543.0 - ISC
191
+ * @license lucide-react v0.542.0 - ISC
192
192
  *
193
193
  * This source code is licensed under the ISC license.
194
194
  * See the LICENSE file in the root directory of this source tree.
195
195
  */const t5t=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Yk=qt("calendar",t5t);/**
196
- * @license lucide-react v0.543.0 - ISC
196
+ * @license lucide-react v0.542.0 - ISC
197
197
  *
198
198
  * This source code is licensed under the ISC license.
199
199
  * See the LICENSE file in the root directory of this source tree.
200
200
  */const n5t=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],r5t=qt("car",n5t);/**
201
- * @license lucide-react v0.543.0 - ISC
201
+ * @license lucide-react v0.542.0 - ISC
202
202
  *
203
203
  * This source code is licensed under the ISC license.
204
204
  * See the LICENSE file in the root directory of this source tree.
205
205
  */const i5t=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],U7=qt("chart-column-big",i5t);/**
206
- * @license lucide-react v0.543.0 - ISC
206
+ * @license lucide-react v0.542.0 - ISC
207
207
  *
208
208
  * This source code is licensed under the ISC license.
209
209
  * See the LICENSE file in the root directory of this source tree.
210
210
  */const a5t=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]],o5t=qt("chart-column-decreasing",a5t);/**
211
- * @license lucide-react v0.543.0 - ISC
211
+ * @license lucide-react v0.542.0 - ISC
212
212
  *
213
213
  * This source code is licensed under the ISC license.
214
214
  * See the LICENSE file in the root directory of this source tree.
215
215
  */const s5t=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],l5t=qt("chart-no-axes-combined",s5t);/**
216
- * @license lucide-react v0.543.0 - ISC
216
+ * @license lucide-react v0.542.0 - ISC
217
217
  *
218
218
  * This source code is licensed under the ISC license.
219
219
  * See the LICENSE file in the root directory of this source tree.
220
220
  */const c5t=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],u5t=qt("check-check",c5t);/**
221
- * @license lucide-react v0.543.0 - ISC
221
+ * @license lucide-react v0.542.0 - ISC
222
222
  *
223
223
  * This source code is licensed under the ISC license.
224
224
  * See the LICENSE file in the root directory of this source tree.
225
225
  */const d5t=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ds=qt("check",d5t);/**
226
- * @license lucide-react v0.543.0 - ISC
226
+ * @license lucide-react v0.542.0 - ISC
227
227
  *
228
228
  * This source code is licensed under the ISC license.
229
229
  * See the LICENSE file in the root directory of this source tree.
230
230
  */const f5t=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Jr=qt("chevron-down",f5t);/**
231
- * @license lucide-react v0.543.0 - ISC
231
+ * @license lucide-react v0.542.0 - ISC
232
232
  *
233
233
  * This source code is licensed under the ISC license.
234
234
  * See the LICENSE file in the root directory of this source tree.
235
235
  */const h5t=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],kne=qt("chevron-left",h5t);/**
236
- * @license lucide-react v0.543.0 - ISC
236
+ * @license lucide-react v0.542.0 - ISC
237
237
  *
238
238
  * This source code is licensed under the ISC license.
239
239
  * See the LICENSE file in the root directory of this source tree.
240
240
  */const m5t=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],V3e=qt("chevron-right",m5t);/**
241
- * @license lucide-react v0.543.0 - ISC
241
+ * @license lucide-react v0.542.0 - ISC
242
242
  *
243
243
  * This source code is licensed under the ISC license.
244
244
  * See the LICENSE file in the root directory of this source tree.
245
245
  */const p5t=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],ji=qt("chevron-up",p5t);/**
246
- * @license lucide-react v0.543.0 - ISC
246
+ * @license lucide-react v0.542.0 - ISC
247
247
  *
248
248
  * This source code is licensed under the ISC license.
249
249
  * See the LICENSE file in the root directory of this source tree.
250
250
  */const A5t=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]],Q3e=qt("chevrons-left-right-ellipsis",A5t);/**
251
- * @license lucide-react v0.543.0 - ISC
251
+ * @license lucide-react v0.542.0 - ISC
252
252
  *
253
253
  * This source code is licensed under the ISC license.
254
254
  * See the LICENSE file in the root directory of this source tree.
255
255
  */const g5t=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],v5t=qt("chevrons-left",g5t);/**
256
- * @license lucide-react v0.543.0 - ISC
256
+ * @license lucide-react v0.542.0 - ISC
257
257
  *
258
258
  * This source code is licensed under the ISC license.
259
259
  * See the LICENSE file in the root directory of this source tree.
260
260
  */const y5t=[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]],q3e=qt("chevrons-right-left",y5t);/**
261
- * @license lucide-react v0.543.0 - ISC
261
+ * @license lucide-react v0.542.0 - ISC
262
262
  *
263
263
  * This source code is licensed under the ISC license.
264
264
  * See the LICENSE file in the root directory of this source tree.
265
265
  */const b5t=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],x5t=qt("chevrons-right",b5t);/**
266
- * @license lucide-react v0.543.0 - ISC
266
+ * @license lucide-react v0.542.0 - ISC
267
267
  *
268
268
  * This source code is licensed under the ISC license.
269
269
  * See the LICENSE file in the root directory of this source tree.
270
270
  */const w5t=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],k5t=qt("circle-alert",w5t);/**
271
- * @license lucide-react v0.543.0 - ISC
271
+ * @license lucide-react v0.542.0 - ISC
272
272
  *
273
273
  * This source code is licensed under the ISC license.
274
274
  * See the LICENSE file in the root directory of this source tree.
275
275
  */const S5t=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],C5t=qt("circle-check-big",S5t);/**
276
- * @license lucide-react v0.543.0 - ISC
276
+ * @license lucide-react v0.542.0 - ISC
277
277
  *
278
278
  * This source code is licensed under the ISC license.
279
279
  * See the LICENSE file in the root directory of this source tree.
280
280
  */const _5t=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Hge=qt("circle-x",_5t);/**
281
- * @license lucide-react v0.543.0 - ISC
281
+ * @license lucide-react v0.542.0 - ISC
282
282
  *
283
283
  * This source code is licensed under the ISC license.
284
284
  * See the LICENSE file in the root directory of this source tree.
285
285
  */const N5t=[["path",{d:"m10.852 19.772-.383.924",key:"r7sl7d"}],["path",{d:"m13.148 14.228.383-.923",key:"1d5zpm"}],["path",{d:"M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1ydik7"}],["path",{d:"m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1m1vsf"}],["path",{d:"m14.772 15.852.923-.383",key:"660p6e"}],["path",{d:"m14.772 18.148.923.383",key:"hrcpis"}],["path",{d:"M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"j2q98n"}],["path",{d:"m9.228 15.852-.923-.383",key:"1p9ong"}],["path",{d:"m9.228 18.148-.923.383",key:"6558rz"}]],E5t=qt("cloud-cog",N5t);/**
286
- * @license lucide-react v0.543.0 - ISC
286
+ * @license lucide-react v0.542.0 - ISC
287
287
  *
288
288
  * This source code is licensed under the ISC license.
289
289
  * See the LICENSE file in the root directory of this source tree.
290
290
  */const F5t=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],D5t=qt("cloud-upload",F5t);/**
291
- * @license lucide-react v0.543.0 - ISC
291
+ * @license lucide-react v0.542.0 - ISC
292
292
  *
293
293
  * This source code is licensed under the ISC license.
294
294
  * See the LICENSE file in the root directory of this source tree.
295
295
  */const T5t=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],K4=qt("coins",T5t);/**
296
- * @license lucide-react v0.543.0 - ISC
296
+ * @license lucide-react v0.542.0 - ISC
297
297
  *
298
298
  * This source code is licensed under the ISC license.
299
299
  * See the LICENSE file in the root directory of this source tree.
300
300
  */const O5t=[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]],B5t=qt("combine",O5t);/**
301
- * @license lucide-react v0.543.0 - ISC
301
+ * @license lucide-react v0.542.0 - ISC
302
302
  *
303
303
  * This source code is licensed under the ISC license.
304
304
  * See the LICENSE file in the root directory of this source tree.
305
305
  */const I5t=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],j5t=qt("copy",I5t);/**
306
- * @license lucide-react v0.543.0 - ISC
306
+ * @license lucide-react v0.542.0 - ISC
307
307
  *
308
308
  * This source code is licensed under the ISC license.
309
309
  * See the LICENSE file in the root directory of this source tree.
310
310
  */const P5t=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],G3e=qt("credit-card",P5t);/**
311
- * @license lucide-react v0.543.0 - ISC
311
+ * @license lucide-react v0.542.0 - ISC
312
312
  *
313
313
  * This source code is licensed under the ISC license.
314
314
  * See the LICENSE file in the root directory of this source tree.
315
315
  */const M5t=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Sne=qt("download",M5t);/**
316
- * @license lucide-react v0.543.0 - ISC
316
+ * @license lucide-react v0.542.0 - ISC
317
317
  *
318
318
  * This source code is licensed under the ISC license.
319
319
  * See the LICENSE file in the root directory of this source tree.
320
320
  */const R5t=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],W3e=qt("ellipsis",R5t);/**
321
- * @license lucide-react v0.543.0 - ISC
321
+ * @license lucide-react v0.542.0 - ISC
322
322
  *
323
323
  * This source code is licensed under the ISC license.
324
324
  * See the LICENSE file in the root directory of this source tree.
325
325
  */const $5t=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],L5t=qt("external-link",$5t);/**
326
- * @license lucide-react v0.543.0 - ISC
326
+ * @license lucide-react v0.542.0 - ISC
327
327
  *
328
328
  * This source code is licensed under the ISC license.
329
329
  * See the LICENSE file in the root directory of this source tree.
330
330
  */const U5t=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],z5t=qt("eye-off",U5t);/**
331
- * @license lucide-react v0.543.0 - ISC
331
+ * @license lucide-react v0.542.0 - ISC
332
332
  *
333
333
  * This source code is licensed under the ISC license.
334
334
  * See the LICENSE file in the root directory of this source tree.
335
335
  */const H5t=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Cne=qt("eye",H5t);/**
336
- * @license lucide-react v0.543.0 - ISC
336
+ * @license lucide-react v0.542.0 - ISC
337
337
  *
338
338
  * This source code is licensed under the ISC license.
339
339
  * See the LICENSE file in the root directory of this source tree.
340
340
  */const V5t=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Q5t=qt("factory",V5t);/**
341
- * @license lucide-react v0.543.0 - ISC
341
+ * @license lucide-react v0.542.0 - ISC
342
342
  *
343
343
  * This source code is licensed under the ISC license.
344
344
  * See the LICENSE file in the root directory of this source tree.
345
345
  */const q5t=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"4",height:"6",x:"2",y:"12",rx:"2",key:"jm304g"}],["path",{d:"M10 12h2v6",key:"12zw74"}],["path",{d:"M10 18h4",key:"1ulq68"}]],G5t=qt("file-digit",q5t);/**
346
- * @license lucide-react v0.543.0 - ISC
346
+ * @license lucide-react v0.542.0 - ISC
347
347
  *
348
348
  * This source code is licensed under the ISC license.
349
349
  * See the LICENSE file in the root directory of this source tree.
350
350
  */const W5t=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],K3e=qt("file-down",W5t);/**
351
- * @license lucide-react v0.543.0 - ISC
351
+ * @license lucide-react v0.542.0 - ISC
352
352
  *
353
353
  * This source code is licensed under the ISC license.
354
354
  * See the LICENSE file in the root directory of this source tree.
355
355
  */const K5t=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],Vge=qt("file-pen",K5t);/**
356
- * @license lucide-react v0.543.0 - ISC
356
+ * @license lucide-react v0.542.0 - ISC
357
357
  *
358
358
  * This source code is licensed under the ISC license.
359
359
  * See the LICENSE file in the root directory of this source tree.
360
360
  */const Y5t=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]],Qge=qt("file-plus-2",Y5t);/**
361
- * @license lucide-react v0.543.0 - ISC
361
+ * @license lucide-react v0.542.0 - ISC
362
362
  *
363
363
  * This source code is licensed under the ISC license.
364
364
  * See the LICENSE file in the root directory of this source tree.
365
365
  */const X5t=[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],qge=qt("file-question-mark",X5t);/**
366
- * @license lucide-react v0.543.0 - ISC
366
+ * @license lucide-react v0.542.0 - ISC
367
367
  *
368
368
  * This source code is licensed under the ISC license.
369
369
  * See the LICENSE file in the root directory of this source tree.
370
370
  */const Z5t=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Y3e=qt("file-text",Z5t);/**
371
- * @license lucide-react v0.543.0 - ISC
371
+ * @license lucide-react v0.542.0 - ISC
372
372
  *
373
373
  * This source code is licensed under the ISC license.
374
374
  * See the LICENSE file in the root directory of this source tree.
375
375
  */const J5t=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Gge=qt("file",J5t);/**
376
- * @license lucide-react v0.543.0 - ISC
376
+ * @license lucide-react v0.542.0 - ISC
377
377
  *
378
378
  * This source code is licensed under the ISC license.
379
379
  * See the LICENSE file in the root directory of this source tree.
380
380
  */const eBt=[["path",{d:"M15 2a2 2 0 0 1 1.414.586l4 4A2 2 0 0 1 21 8v7a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z",key:"1vo8kb"}],["path",{d:"M15 2v4a2 2 0 0 0 2 2h4",key:"sud9ri"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],Wge=qt("files",eBt);/**
381
- * @license lucide-react v0.543.0 - ISC
381
+ * @license lucide-react v0.542.0 - ISC
382
382
  *
383
383
  * This source code is licensed under the ISC license.
384
384
  * See the LICENSE file in the root directory of this source tree.
385
385
  */const tBt=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],nBt=qt("folder-open",tBt);/**
386
- * @license lucide-react v0.543.0 - ISC
386
+ * @license lucide-react v0.542.0 - ISC
387
387
  *
388
388
  * This source code is licensed under the ISC license.
389
389
  * See the LICENSE file in the root directory of this source tree.
390
390
  */const rBt=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],iBt=qt("folder-plus",rBt);/**
391
- * @license lucide-react v0.543.0 - ISC
391
+ * @license lucide-react v0.542.0 - ISC
392
392
  *
393
393
  * This source code is licensed under the ISC license.
394
394
  * See the LICENSE file in the root directory of this source tree.
395
395
  */const aBt=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],oBt=qt("folder",aBt);/**
396
- * @license lucide-react v0.543.0 - ISC
396
+ * @license lucide-react v0.542.0 - ISC
397
397
  *
398
398
  * This source code is licensed under the ISC license.
399
399
  * See the LICENSE file in the root directory of this source tree.
400
400
  */const sBt=[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]],lBt=qt("fuel",sBt);/**
401
- * @license lucide-react v0.543.0 - ISC
401
+ * @license lucide-react v0.542.0 - ISC
402
402
  *
403
403
  * This source code is licensed under the ISC license.
404
404
  * See the LICENSE file in the root directory of this source tree.
405
405
  */const cBt=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Ll=qt("funnel",cBt);/**
406
- * @license lucide-react v0.543.0 - ISC
406
+ * @license lucide-react v0.542.0 - ISC
407
407
  *
408
408
  * This source code is licensed under the ISC license.
409
409
  * See the LICENSE file in the root directory of this source tree.
410
410
  */const uBt=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],dBt=qt("gift",uBt);/**
411
- * @license lucide-react v0.543.0 - ISC
411
+ * @license lucide-react v0.542.0 - ISC
412
412
  *
413
413
  * This source code is licensed under the ISC license.
414
414
  * See the LICENSE file in the root directory of this source tree.
415
415
  */const fBt=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],hBt=qt("globe",fBt);/**
416
- * @license lucide-react v0.543.0 - ISC
416
+ * @license lucide-react v0.542.0 - ISC
417
417
  *
418
418
  * This source code is licensed under the ISC license.
419
419
  * See the LICENSE file in the root directory of this source tree.
420
420
  */const mBt=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],UY=qt("hand-coins",mBt);/**
421
- * @license lucide-react v0.543.0 - ISC
421
+ * @license lucide-react v0.542.0 - ISC
422
422
  *
423
423
  * This source code is licensed under the ISC license.
424
424
  * See the LICENSE file in the root directory of this source tree.
425
425
  */const pBt=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],X3e=qt("id-card",pBt);/**
426
- * @license lucide-react v0.543.0 - ISC
426
+ * @license lucide-react v0.542.0 - ISC
427
427
  *
428
428
  * This source code is licensed under the ISC license.
429
429
  * See the LICENSE file in the root directory of this source tree.
430
430
  */const ABt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Z3e=qt("image",ABt);/**
431
- * @license lucide-react v0.543.0 - ISC
431
+ * @license lucide-react v0.542.0 - ISC
432
432
  *
433
433
  * This source code is licensed under the ISC license.
434
434
  * See the LICENSE file in the root directory of this source tree.
435
435
  */const gBt=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],vBt=qt("link",gBt);/**
436
- * @license lucide-react v0.543.0 - ISC
436
+ * @license lucide-react v0.542.0 - ISC
437
437
  *
438
438
  * This source code is licensed under the ISC license.
439
439
  * See the LICENSE file in the root directory of this source tree.
440
- */const yBt=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],lg=qt("list-plus",yBt);/**
441
- * @license lucide-react v0.543.0 - ISC
440
+ */const yBt=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],lg=qt("list-plus",yBt);/**
441
+ * @license lucide-react v0.542.0 - ISC
442
442
  *
443
443
  * This source code is licensed under the ISC license.
444
444
  * See the LICENSE file in the root directory of this source tree.
445
445
  */const bBt=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ai=qt("loader-circle",bBt);/**
446
- * @license lucide-react v0.543.0 - ISC
446
+ * @license lucide-react v0.542.0 - ISC
447
447
  *
448
448
  * This source code is licensed under the ISC license.
449
449
  * See the LICENSE file in the root directory of this source tree.
450
450
  */const xBt=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],wBt=qt("mail",xBt);/**
451
- * @license lucide-react v0.543.0 - ISC
451
+ * @license lucide-react v0.542.0 - ISC
452
452
  *
453
453
  * This source code is licensed under the ISC license.
454
454
  * See the LICENSE file in the root directory of this source tree.
455
455
  */const kBt=[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],SBt=qt("map-plus",kBt);/**
456
- * @license lucide-react v0.543.0 - ISC
456
+ * @license lucide-react v0.542.0 - ISC
457
457
  *
458
458
  * This source code is licensed under the ISC license.
459
459
  * See the LICENSE file in the root directory of this source tree.
460
- */const CBt=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],_Bt=qt("menu",CBt);/**
461
- * @license lucide-react v0.543.0 - ISC
460
+ */const CBt=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],_Bt=qt("menu",CBt);/**
461
+ * @license lucide-react v0.542.0 - ISC
462
462
  *
463
463
  * This source code is licensed under the ISC license.
464
464
  * See the LICENSE file in the root directory of this source tree.
465
465
  */const NBt=[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]],J3e=qt("merge",NBt);/**
466
- * @license lucide-react v0.543.0 - ISC
466
+ * @license lucide-react v0.542.0 - ISC
467
467
  *
468
468
  * This source code is licensed under the ISC license.
469
469
  * See the LICENSE file in the root directory of this source tree.
470
470
  */const EBt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]],Fu=qt("panel-top-close",EBt);/**
471
- * @license lucide-react v0.543.0 - ISC
471
+ * @license lucide-react v0.542.0 - ISC
472
472
  *
473
473
  * This source code is licensed under the ISC license.
474
474
  * See the LICENSE file in the root directory of this source tree.
475
475
  */const FBt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]],Du=qt("panel-top-open",FBt);/**
476
- * @license lucide-react v0.543.0 - ISC
476
+ * @license lucide-react v0.542.0 - ISC
477
477
  *
478
478
  * This source code is licensed under the ISC license.
479
479
  * See the LICENSE file in the root directory of this source tree.
480
480
  */const DBt=[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]],Kge=qt("parking-meter",DBt);/**
481
- * @license lucide-react v0.543.0 - ISC
481
+ * @license lucide-react v0.542.0 - ISC
482
482
  *
483
483
  * This source code is licensed under the ISC license.
484
484
  * See the LICENSE file in the root directory of this source tree.
485
485
  */const TBt=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],OBt=qt("pencil",TBt);/**
486
- * @license lucide-react v0.543.0 - ISC
486
+ * @license lucide-react v0.542.0 - ISC
487
487
  *
488
488
  * This source code is licensed under the ISC license.
489
489
  * See the LICENSE file in the root directory of this source tree.
490
490
  */const BBt=[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]],IBt=qt("piggy-bank",BBt);/**
491
- * @license lucide-react v0.543.0 - ISC
491
+ * @license lucide-react v0.542.0 - ISC
492
492
  *
493
493
  * This source code is licensed under the ISC license.
494
494
  * See the LICENSE file in the root directory of this source tree.
495
- */const jBt=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],PBt=qt("plane",jBt);/**
496
- * @license lucide-react v0.543.0 - ISC
495
+ */const jBt=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],PBt=qt("plane-takeoff",jBt);/**
496
+ * @license lucide-react v0.542.0 - ISC
497
497
  *
498
498
  * This source code is licensed under the ISC license.
499
499
  * See the LICENSE file in the root directory of this source tree.
500
- */const MBt=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],RBt=qt("plane-takeoff",MBt);/**
501
- * @license lucide-react v0.543.0 - ISC
500
+ */const MBt=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],RBt=qt("plane",MBt);/**
501
+ * @license lucide-react v0.542.0 - ISC
502
502
  *
503
503
  * This source code is licensed under the ISC license.
504
504
  * See the LICENSE file in the root directory of this source tree.
505
505
  */const $Bt=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],hc=qt("plus",$Bt);/**
506
- * @license lucide-react v0.543.0 - ISC
506
+ * @license lucide-react v0.542.0 - ISC
507
507
  *
508
508
  * This source code is licensed under the ISC license.
509
509
  * See the LICENSE file in the root directory of this source tree.
510
510
  */const LBt=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],UBt=qt("printer",LBt);/**
511
- * @license lucide-react v0.543.0 - ISC
511
+ * @license lucide-react v0.542.0 - ISC
512
512
  *
513
513
  * This source code is licensed under the ISC license.
514
514
  * See the LICENSE file in the root directory of this source tree.
515
515
  */const zBt=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],HBt=qt("puzzle",zBt);/**
516
- * @license lucide-react v0.543.0 - ISC
516
+ * @license lucide-react v0.542.0 - ISC
517
517
  *
518
518
  * This source code is licensed under the ISC license.
519
519
  * See the LICENSE file in the root directory of this source tree.
520
520
  */const VBt=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]],QBt=qt("receipt-text",VBt);/**
521
- * @license lucide-react v0.543.0 - ISC
521
+ * @license lucide-react v0.542.0 - ISC
522
522
  *
523
523
  * This source code is licensed under the ISC license.
524
524
  * See the LICENSE file in the root directory of this source tree.
525
525
  */const qBt=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],gk=qt("receipt",qBt);/**
526
- * @license lucide-react v0.543.0 - ISC
526
+ * @license lucide-react v0.542.0 - ISC
527
527
  *
528
528
  * This source code is licensed under the ISC license.
529
529
  * See the LICENSE file in the root directory of this source tree.
530
530
  */const GBt=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],WBt=qt("rectangle-ellipsis",GBt);/**
531
- * @license lucide-react v0.543.0 - ISC
531
+ * @license lucide-react v0.542.0 - ISC
532
532
  *
533
533
  * This source code is licensed under the ISC license.
534
534
  * See the LICENSE file in the root directory of this source tree.
535
535
  */const KBt=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],YBt=qt("refresh-ccw-dot",KBt);/**
536
- * @license lucide-react v0.543.0 - ISC
536
+ * @license lucide-react v0.542.0 - ISC
537
537
  *
538
538
  * This source code is licensed under the ISC license.
539
539
  * See the LICENSE file in the root directory of this source tree.
540
540
  */const XBt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]],ZBt=qt("rows-4",XBt);/**
541
- * @license lucide-react v0.543.0 - ISC
541
+ * @license lucide-react v0.542.0 - ISC
542
542
  *
543
543
  * This source code is licensed under the ISC license.
544
544
  * See the LICENSE file in the root directory of this source tree.
545
545
  */const JBt=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],eIt=qt("save",JBt);/**
546
- * @license lucide-react v0.543.0 - ISC
546
+ * @license lucide-react v0.542.0 - ISC
547
547
  *
548
548
  * This source code is licensed under the ISC license.
549
549
  * See the LICENSE file in the root directory of this source tree.
550
550
  */const tIt=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],eLe=qt("scale",tIt);/**
551
- * @license lucide-react v0.543.0 - ISC
551
+ * @license lucide-react v0.542.0 - ISC
552
552
  *
553
553
  * This source code is licensed under the ISC license.
554
554
  * See the LICENSE file in the root directory of this source tree.
555
555
  */const nIt=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],tLe=qt("search",nIt);/**
556
- * @license lucide-react v0.543.0 - ISC
556
+ * @license lucide-react v0.542.0 - ISC
557
557
  *
558
558
  * This source code is licensed under the ISC license.
559
559
  * See the LICENSE file in the root directory of this source tree.
560
560
  */const rIt=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],nLe=qt("send",rIt);/**
561
- * @license lucide-react v0.543.0 - ISC
561
+ * @license lucide-react v0.542.0 - ISC
562
562
  *
563
563
  * This source code is licensed under the ISC license.
564
564
  * See the LICENSE file in the root directory of this source tree.
565
565
  */const iIt=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],aIt=qt("settings",iIt);/**
566
- * @license lucide-react v0.543.0 - ISC
566
+ * @license lucide-react v0.542.0 - ISC
567
567
  *
568
568
  * This source code is licensed under the ISC license.
569
569
  * See the LICENSE file in the root directory of this source tree.
570
570
  */const oIt=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],V_=qt("square-check-big",oIt);/**
571
- * @license lucide-react v0.543.0 - ISC
571
+ * @license lucide-react v0.542.0 - ISC
572
572
  *
573
573
  * This source code is licensed under the ISC license.
574
574
  * See the LICENSE file in the root directory of this source tree.
575
575
  */const sIt=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Tu=qt("square-pen",sIt);/**
576
- * @license lucide-react v0.543.0 - ISC
576
+ * @license lucide-react v0.542.0 - ISC
577
577
  *
578
578
  * This source code is licensed under the ISC license.
579
579
  * See the LICENSE file in the root directory of this source tree.
580
580
  */const lIt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Q_=qt("square-x",lIt);/**
581
- * @license lucide-react v0.543.0 - ISC
581
+ * @license lucide-react v0.542.0 - ISC
582
582
  *
583
583
  * This source code is licensed under the ISC license.
584
584
  * See the LICENSE file in the root directory of this source tree.
585
585
  */const cIt=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],uIt=qt("tags",cIt);/**
586
- * @license lucide-react v0.543.0 - ISC
586
+ * @license lucide-react v0.542.0 - ISC
587
587
  *
588
588
  * This source code is licensed under the ISC license.
589
589
  * See the LICENSE file in the root directory of this source tree.
590
590
  */const dIt=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Ry=qt("trash-2",dIt);/**
591
- * @license lucide-react v0.543.0 - ISC
591
+ * @license lucide-react v0.542.0 - ISC
592
592
  *
593
593
  * This source code is licensed under the ISC license.
594
594
  * See the LICENSE file in the root directory of this source tree.
595
595
  */const fIt=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Hx=qt("trash",fIt);/**
596
- * @license lucide-react v0.543.0 - ISC
596
+ * @license lucide-react v0.542.0 - ISC
597
597
  *
598
598
  * This source code is licensed under the ISC license.
599
599
  * See the LICENSE file in the root directory of this source tree.
600
600
  */const hIt=[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]],mIt=qt("trending-up-down",hIt);/**
601
- * @license lucide-react v0.543.0 - ISC
601
+ * @license lucide-react v0.542.0 - ISC
602
602
  *
603
603
  * This source code is licensed under the ISC license.
604
604
  * See the LICENSE file in the root directory of this source tree.
605
605
  */const pIt=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],rLe=qt("unlink",pIt);/**
606
- * @license lucide-react v0.543.0 - ISC
606
+ * @license lucide-react v0.542.0 - ISC
607
607
  *
608
608
  * This source code is licensed under the ISC license.
609
609
  * See the LICENSE file in the root directory of this source tree.
610
610
  */const AIt=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],gIt=qt("user-round",AIt);/**
611
- * @license lucide-react v0.543.0 - ISC
611
+ * @license lucide-react v0.542.0 - ISC
612
612
  *
613
613
  * This source code is licensed under the ISC license.
614
614
  * See the LICENSE file in the root directory of this source tree.
615
615
  */const vIt=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],yIt=qt("user",vIt);/**
616
- * @license lucide-react v0.543.0 - ISC
616
+ * @license lucide-react v0.542.0 - ISC
617
617
  *
618
618
  * This source code is licensed under the ISC license.
619
619
  * See the LICENSE file in the root directory of this source tree.
620
620
  */const bIt=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],xIt=qt("wallet",bIt);/**
621
- * @license lucide-react v0.543.0 - ISC
621
+ * @license lucide-react v0.542.0 - ISC
622
622
  *
623
623
  * This source code is licensed under the ISC license.
624
624
  * See the LICENSE file in the root directory of this source tree.
625
625
  */const wIt=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],kIt=qt("wand-sparkles",wIt);/**
626
- * @license lucide-react v0.543.0 - ISC
626
+ * @license lucide-react v0.542.0 - ISC
627
627
  *
628
628
  * This source code is licensed under the ISC license.
629
629
  * See the LICENSE file in the root directory of this source tree.
630
630
  */const SIt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Vx=qt("x",SIt);/**
631
- * @license lucide-react v0.543.0 - ISC
631
+ * @license lucide-react v0.542.0 - ISC
632
632
  *
633
633
  * This source code is licensed under the ISC license.
634
634
  * See the LICENSE file in the root directory of this source tree.
635
635
  */const CIt=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Yge=qt("zoom-in",CIt);/**
636
- * @license lucide-react v0.543.0 - ISC
636
+ * @license lucide-react v0.542.0 - ISC
637
637
  *
638
638
  * This source code is licensed under the ISC license.
639
639
  * See the LICENSE file in the root directory of this source tree.
640
- */const _It=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Xge=qt("zoom-out",_It),NIt="creditShareholdersBusinessTripTravelAndSubsistence",EIt=()=>{const[{fetching:e},t]=qn(BFt),n=w.useCallback(async r=>{const i=`Error crediting shareholders for trip ID ${r.businessTripId}`,a=`${NIt}-${r.businessTripId}`;qe.loading("Crediting Shareholders",{id:a});try{const o=await t(r),s=Gn(o,i,a);s&&qe.success("Shareholders Credited",{id:a,description:`${s.creditShareholdersBusinessTripTravelAndSubsistence.length} Corresponding charges were successfully generated`})}catch(o){console.error(`${i}: ${o}`),qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,creditShareholders:n}};function FIt({businessTripId:e}){const[t,n]=w.useState(!1),{creditShareholders:r}=EIt();return d.jsxs(Hi,{shadow:"md",width:200,opened:t,children:[d.jsx(Hi.Target,{children:d.jsx(one,{opened:t,onClick:i=>{i.stopPropagation(),n(a=>!a)}})}),d.jsxs(Hi.Dropdown,{children:[d.jsx(Hi.Label,{children:"Summarize Trip"}),d.jsx(Td,{onConfirm:()=>{r({businessTripId:e})},title:"Credit shareholders with travel and subsistence surplus?",children:d.jsx(Hi.Item,{icon:d.jsx(UY,{size:14}),children:"Credit surplus T&S"})})]})]})}const iLe=({data:e,onChange:t})=>{const n=$t(n2t,e),{name:r,dates:i,purpose:a,destination:o}=n;return d.jsxs(Xo,{children:[d.jsxs(Xo.Col,{span:12,className:"flex flex-row justify-between items-center",children:[d.jsx(er,{fz:"xl",children:r}),d.jsxs("div",{className:"flex flex-row gap-2",children:[d.jsx(EOt,{data:n,onChange:t}),d.jsx(Xx,{isLink:!0,content:`${window.location.origin}/business-trips/${n.id}`}),d.jsx(FIt,{businessTripId:n.id})]})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["From Date:",d.jsx(er,{fz:"lg",children:i?.start?Rt(new Date(i.start),"dd/MM/yy"):"Missing"})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["To Date:",d.jsx(er,{fz:"lg",children:i?.end?Rt(new Date(i.end),"dd/MM/yy"):"Missing"})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["Destination:",d.jsx(er,{fz:"lg",children:o?.name})]}),d.jsxs(Xo.Col,{xl:4,lg:6,md:12,orderMd:6,children:["Description:",d.jsx(er,{fz:"lg",children:a})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["Total Days:",d.jsx(er,{fz:"lg",children:i?DIt(i.start,i.end):"Missing"})]})]})};function DIt(e,t){return zDt(Mge(new Date(t),22),Mge(new Date(e),6))+1}function S3(e,t){return new Intl.NumberFormat("en-US",{style:"currency",...t,currency:e})}function Oa(e){let t="₪";switch(e){case"USD":{t="$";break}case"EUR":{t="€";break}case"GBP":{t="£";break}case"CAD":{t="C$";break}case"JPY":{t="¥";break}case"AUD":{t="A$";break}case"SEK":{t="kr";break}case"GRT":{t="GRT";break}case"USDC":{t="USDC";break}case"ETH":{t="ETH";break}}return t}const _ne=[Vt.Ils,Vt.Eur,Vt.Usd,Vt.Gbp,Vt.Cad,Vt.Jpy,Vt.Aud,Vt.Sek];function TIt(e){return e.split("_").map(OIt).join(" ")}function OIt(e){return e.slice(0,1).toUpperCase()+e.slice(1,e.length).toLowerCase()}const aLe=({data:e})=>{const{summary:t}=$t(r2t,e);return t?d.jsxs("div",{className:"flex flex-col gap-2 mt-5",children:[t.errors?.length&&d.jsxs(xg,{shadow:"xs",p:"md",children:[d.jsx(er,{c:"red",children:"Errors:"}),d.jsx(Ep,{size:"sm",withPadding:!0,children:t.errors.map((n,r)=>d.jsx(Ep.Item,{children:d.jsx(er,{c:"red",children:n})},r))})]}),d.jsxs(go,{highlightOnHover:!0,withBorder:!0,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[d.jsx("th",{children:"Expense Type"}),d.jsxs("th",{children:["Total ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Total ",Oa(Vt.Ils)]}),d.jsxs("th",{children:["Max Taxable ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Taxable ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Taxable ",Oa(Vt.Ils)]}),d.jsx("th",{children:"Excess Expenditure"})]})}),d.jsx("tbody",{children:t.rows.map(n=>d.jsxs("tr",{children:[d.jsx("td",{children:TIt(n.type)}),d.jsx("td",{children:n.totalForeignCurrency?.formatted}),d.jsx("td",{children:n.totalLocalCurrency?.formatted}),d.jsx("td",{children:n.maxTaxableForeignCurrency?.formatted}),d.jsx("td",{children:n.taxableForeignCurrency?.formatted}),d.jsx("td",{children:n.taxableLocalCurrency?.formatted}),d.jsx("td",{children:n.excessExpenditure?.formatted})]},n.type))})]}),d.jsxs(Xo,{justify:"flex-end",children:[d.jsxs(Xo.Col,{lg:2,md:4,children:["Excess Expenditure Tax:",d.jsxs(er,{fz:"lg",children:[t.excessTax??"0","%"]})]}),d.jsx(Xo.Col,{lg:2,md:3,className:"flex flex-col justify-end",children:d.jsx(er,{fz:"lg",children:t.excessExpenditure?.formatted??"0.00"})})]})]}):d.jsx(er,{children:"Loading..."})},BIt=({data:e})=>{const t=$t(i2t,e);return d.jsxs(d.Fragment,{children:[d.jsx(iLe,{data:t,onChange:()=>{}}),d.jsx(aLe,{data:t})]})},Nne=({title:e,herf:t,style:n,target:r,rel:i,type:a="button",onClick:o,...s})=>d.jsx("button",{style:n,type:a,onClick:o,className:"cursor: pointer text-align: center flex ml-auto text-white bg-indigo-500 border-0 py-1.5 px-3 focus:outline-hidden hover:bg-indigo-600 rounded-sm;",...s,children:d.jsx("a",{rel:i,target:r,href:t,type:a,children:e})}),IIt=({title:e,url:t,style:n,target:r,textLabel:i,rel:a,type:o="button",onClick:s})=>d.jsxs("div",{children:[d.jsx("label",{className:"text-sm font-medium text-gray-700",children:i}),d.jsx("div",{children:d.jsx("button",{style:n,type:o,onClick:s,className:"bg-gray-100 border focus:ring-2 focus:ring-indigo-200 focus:bg-transparent hover:bg-indigo-500 hover:text-white text-base outline-hidden text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out sm:text-sm rounded-md",children:d.jsx("a",{rel:a,target:r,href:t,type:o,children:e})})})]});function oLe(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=oLe(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Zn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=oLe(e))&&(r&&(r+=" "),r+=t);return r}const Ene="-",jIt=e=>{const t=MIt(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(Ene);return s[0]===""&&s.length!==1&&s.shift(),sLe(s,t)||PIt(o)},getConflictingClassGroupIds:(o,s)=>{const l=n[o]||[];return s&&r[o]?[...l,...r[o]]:l}}},sLe=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?sLe(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Ene);return t.validators.find(({validator:o})=>o(a))?.classGroupId},Zge=/^\[(.+)\]$/,PIt=e=>{if(Zge.test(e)){const t=Zge.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},MIt=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)zY(n[i],r,i,t);return r},zY=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:Jge(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(RIt(i)){zY(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{zY(o,Jge(t,a),n,r)})})},Jge=(e,t)=>{let n=e;return t.split(Ene).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},RIt=e=>e.isThemeGetter,$It=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},HY="!",VY=":",LIt=VY.length,UIt=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let o=0,s=0,l=0,c;for(let p=0;p<i.length;p++){let A=i[p];if(o===0&&s===0){if(A===VY){a.push(i.slice(l,p)),l=p+LIt;continue}if(A==="/"){c=p;continue}}A==="["?o++:A==="]"?o--:A==="("?s++:A===")"&&s--}const u=a.length===0?i:i.substring(l),f=zIt(u),h=f!==u,m=c&&c>l?c-l:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:m}};if(t){const i=t+VY,a=r;r=o=>o.startsWith(i)?a(o.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},zIt=e=>e.endsWith(HY)?e.substring(0,e.length-1):e.startsWith(HY)?e.substring(1):e,HIt=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let a=[];return r.forEach(o=>{o[0]==="["||t[o]?(i.push(...a.sort(),o),a=[]):a.push(o)}),i.push(...a.sort()),i}},VIt=e=>({cache:$It(e.cacheSize),parseClassName:UIt(e),sortModifiers:HIt(e),...jIt(e)}),QIt=/\s+/,qIt=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(QIt);let l="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:f,modifiers:h,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:A}=n(u);if(f){l=u+(l.length>0?" "+l:l);continue}let v=!!A,y=r(v?p.substring(0,A):p);if(!y){if(!v){l=u+(l.length>0?" "+l:l);continue}if(y=r(p),!y){l=u+(l.length>0?" "+l:l);continue}v=!1}const x=a(h).join(":"),k=m?x+HY:x,S=k+y;if(o.includes(S))continue;o.push(S);const C=i(y,v);for(let N=0;N<C.length;++N){const E=C[N];o.push(k+E)}l=u+(l.length>0?" "+l:l)}return l};function GIt(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=lLe(t))&&(r&&(r+=" "),r+=n);return r}const lLe=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=lLe(e[r]))&&(n&&(n+=" "),n+=t);return n};function WIt(e,...t){let n,r,i,a=o;function o(l){const c=t.reduce((u,f)=>f(u),e());return n=VIt(c),r=n.cache.get,i=n.cache.set,a=s,s(l)}function s(l){const c=r(l);if(c)return c;const u=qIt(l,n);return i(l,u),u}return function(){return a(GIt.apply(null,arguments))}}const Rs=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},cLe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,uLe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,KIt=/^\d+\/\d+$/,YIt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,XIt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ZIt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,JIt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ejt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sw=e=>KIt.test(e),Yr=e=>!!e&&!Number.isNaN(Number(e)),wv=e=>!!e&&Number.isInteger(Number(e)),z7=e=>e.endsWith("%")&&Yr(e.slice(0,-1)),xA=e=>YIt.test(e),tjt=()=>!0,njt=e=>XIt.test(e)&&!ZIt.test(e),dLe=()=>!1,rjt=e=>JIt.test(e),ijt=e=>ejt.test(e),ajt=e=>!jn(e)&&!Pn(e),ojt=e=>lC(e,mLe,dLe),jn=e=>cLe.test(e),H0=e=>lC(e,pLe,njt),H7=e=>lC(e,djt,Yr),eve=e=>lC(e,fLe,dLe),sjt=e=>lC(e,hLe,ijt),A5=e=>lC(e,ALe,rjt),Pn=e=>uLe.test(e),q_=e=>cC(e,pLe),ljt=e=>cC(e,fjt),tve=e=>cC(e,fLe),cjt=e=>cC(e,mLe),ujt=e=>cC(e,hLe),g5=e=>cC(e,ALe,!0),lC=(e,t,n)=>{const r=cLe.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},cC=(e,t,n=!1)=>{const r=uLe.exec(e);return r?r[1]?t(r[1]):n:!1},fLe=e=>e==="position"||e==="percentage",hLe=e=>e==="image"||e==="url",mLe=e=>e==="length"||e==="size"||e==="bg-size",pLe=e=>e==="length",djt=e=>e==="number",fjt=e=>e==="family-name",ALe=e=>e==="shadow",hjt=()=>{const e=Rs("color"),t=Rs("font"),n=Rs("text"),r=Rs("font-weight"),i=Rs("tracking"),a=Rs("leading"),o=Rs("breakpoint"),s=Rs("container"),l=Rs("spacing"),c=Rs("radius"),u=Rs("shadow"),f=Rs("inset-shadow"),h=Rs("text-shadow"),m=Rs("drop-shadow"),p=Rs("blur"),A=Rs("perspective"),v=Rs("aspect"),y=Rs("ease"),x=Rs("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...S(),Pn,jn],N=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],D=()=>[Pn,jn,l],T=()=>[sw,"full","auto",...D()],P=()=>[wv,"none","subgrid",Pn,jn],O=()=>["auto",{span:["full",wv,Pn,jn]},wv,Pn,jn],B=()=>[wv,"auto",Pn,jn],M=()=>["auto","min","max","fr",Pn,jn],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...D()],V=()=>[sw,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],Q=()=>[e,Pn,jn],X=()=>[...S(),tve,eve,{position:[Pn,jn]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],le=()=>["auto","cover","contain",cjt,ojt,{size:[Pn,jn]}],H=()=>[z7,q_,H0],G=()=>["","none","full",c,Pn,jn],W=()=>["",Yr,q_,H0],te=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[Yr,z7,tve,eve],de=()=>["","none",p,Pn,jn],he=()=>["none",Yr,Pn,jn],pe=()=>["none",Yr,Pn,jn],oe=()=>[Yr,Pn,jn],J=()=>[sw,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xA],breakpoint:[xA],color:[tjt],container:[xA],"drop-shadow":[xA],ease:["in","out","in-out"],font:[ajt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xA],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xA],shadow:[xA],spacing:["px",Yr],text:[xA],"text-shadow":[xA],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sw,jn,Pn,v]}],container:["container"],columns:[{columns:[Yr,jn,Pn,s]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[wv,"auto",Pn,jn]}],basis:[{basis:[sw,"full","auto",s,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Yr,sw,"auto","initial","none",jn]}],grow:[{grow:["",Yr,Pn,jn]}],shrink:[{shrink:["",Yr,Pn,jn]}],order:[{order:[wv,"first","last","none",Pn,jn]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[s,"screen",...V()]}],"min-w":[{"min-w":[s,"screen","none",...V()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",n,q_,H0]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Pn,H7]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",z7,jn]}],"font-family":[{font:[ljt,jn,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Pn,jn]}],"line-clamp":[{"line-clamp":[Yr,"none",Pn,H7]}],leading:[{leading:[a,...D()]}],"list-image":[{"list-image":["none",Pn,jn]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Pn,jn]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:[Yr,"from-font","auto",Pn,H0]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[Yr,"auto",Pn,jn]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pn,jn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pn,jn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:le()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},wv,Pn,jn],radial:["",Pn,jn],conic:[wv,Pn,jn]},ujt,sjt]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...te(),"hidden","none"]}],"divide-style":[{divide:[...te(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Yr,Pn,jn]}],"outline-w":[{outline:["",Yr,q_,H0]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",u,g5,A5]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",f,g5,A5]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[Yr,H0]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",h,g5,A5]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[Yr,Pn,jn]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Yr]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Pn,jn]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[Yr]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Pn,jn]}],filter:[{filter:["","none",Pn,jn]}],blur:[{blur:de()}],brightness:[{brightness:[Yr,Pn,jn]}],contrast:[{contrast:[Yr,Pn,jn]}],"drop-shadow":[{"drop-shadow":["","none",m,g5,A5]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",Yr,Pn,jn]}],"hue-rotate":[{"hue-rotate":[Yr,Pn,jn]}],invert:[{invert:["",Yr,Pn,jn]}],saturate:[{saturate:[Yr,Pn,jn]}],sepia:[{sepia:["",Yr,Pn,jn]}],"backdrop-filter":[{"backdrop-filter":["","none",Pn,jn]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[Yr,Pn,jn]}],"backdrop-contrast":[{"backdrop-contrast":[Yr,Pn,jn]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Yr,Pn,jn]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Yr,Pn,jn]}],"backdrop-invert":[{"backdrop-invert":["",Yr,Pn,jn]}],"backdrop-opacity":[{"backdrop-opacity":[Yr,Pn,jn]}],"backdrop-saturate":[{"backdrop-saturate":[Yr,Pn,jn]}],"backdrop-sepia":[{"backdrop-sepia":["",Yr,Pn,jn]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Pn,jn]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Yr,"initial",Pn,jn]}],ease:[{ease:["linear","initial",y,Pn,jn]}],delay:[{delay:[Yr,Pn,jn]}],animate:[{animate:["none",x,Pn,jn]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,Pn,jn]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:he()}],"rotate-x":[{"rotate-x":he()}],"rotate-y":[{"rotate-y":he()}],"rotate-z":[{"rotate-z":he()}],scale:[{scale:pe()}],"scale-x":[{"scale-x":pe()}],"scale-y":[{"scale-y":pe()}],"scale-z":[{"scale-z":pe()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[Pn,jn,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Pn,jn]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Pn,jn]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[Yr,q_,H0,H7]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gLe=WIt(hjt);function _t(...e){return gLe(Zn(e))}const mjt="updateChargeAccountantApproval",vLe=()=>{const[{fetching:e},t]=qn(yDt),n=w.useCallback(async r=>{const i=`Error toggling accountant approval to ledger record ID [${r.chargeId}]`,a=`${mjt}-${r.chargeId}`;qe.loading("Updating approval status",{id:a});try{const o=await t(r),s=Gn(o,i,a,"updateChargeAccountantApproval");if(s)return qe.success("Success",{id:a,description:"Accountant approval was updated"}),s.updateChargeAccountantApproval}catch(o){console.error(`${i}: ${o}`),qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,updateChargeAccountantApproval:n}};function pjt({data:e,onChange:t}){const n=$t(M2t,e),[r,i]=w.useState(n.accountantApproval),{updateChargeAccountantApproval:a}=vLe();return w.useEffect(()=>{r==null&&n.accountantApproval!=null&&i(n.accountantApproval)},[r,n.accountantApproval]),d.jsx("td",{children:d.jsx(Lae,{value:r,onChange:o=>a({chargeId:n.id,status:o}).then(t)})})}const Ajt=({data:e})=>{const t=$t(R2t,e),[n,r]=w.useState(!0),[i,a]=w.useState(!0),o="validCreditCardAmount"in t?t.validCreditCardAmount:null;return w.useEffect(()=>{t.__typename==="CreditcardBankCharge"&&(a(o==null),o!=null&&r(o))},[t.__typename,o]),d.jsx("td",{children:d.jsx("div",{children:d.jsx(ya,{inline:!0,size:12,disabled:n,processing:i,color:"red",zIndex:"auto",children:d.jsx("p",{className:(t.totalAmount?.raw??0)>0?"whitespace-nowrap text-green-700":"whitespace-nowrap text-red-500",children:t.totalAmount?.formatted})})})})},gjt=({data:e})=>{const t=$t(k3e,e);return"businessTrip"in t?d.jsx("td",{children:d.jsx("a",{href:`/business-trips/${t.businessTrip?.id}`,target:"_blank",rel:"noreferrer",onClick:n=>n.stopPropagation(),children:d.jsx(Kh,{label:t.businessTrip?.name,className:"[&>*>.mantine-NavLink-label]:font-semibold"})})}):d.jsx("td",{})},vjt={CommonCharge:"Common",BusinessTripCharge:"Business Trip",DividendCharge:"Dividend",ConversionCharge:"Conversion",SalaryCharge:"Salary",InternalTransferCharge:"Internal Transfer",MonthlyVatCharge:"Monthly VAT",BankDepositCharge:"Bank Deposit",ForeignSecuritiesCharge:"Foreign Securities",CreditcardBankCharge:"Credit Card Bank Charge",FinancialCharge:"Financial Charge"},yLe=e=>vjt[e]??"Unknown",yjt={CommonCharge:d.jsx(K4,{}),BusinessTripCharge:d.jsx(PBt,{}),DividendCharge:d.jsx(dBt,{}),ConversionCharge:d.jsx(hBt,{}),SalaryCharge:d.jsx(xIt,{}),InternalTransferCharge:d.jsx(UOt,{}),MonthlyVatCharge:d.jsx(gk,{}),BankDepositCharge:d.jsx(IBt,{}),ForeignSecuritiesCharge:d.jsx(mIt,{}),CreditcardBankCharge:d.jsx(G3e,{}),FinancialCharge:d.jsx(eLe,{})},bjt=e=>yjt[e]??d.jsx(K4,{}),xjt=e=>{const t=()=>{console.log("clipboard successfully set")},n=()=>{console.log("clipboard failed")};navigator.clipboard.writeText(e).then(t,n)},ki=/^((?:1[6-9]|[2]\d)\d{2})(-)(?:((?:0[13578]|1[02])(-31))|(?:(?:0[1,3-9]|1[0-2])(-)(?:29|30)))$|^(?:(?:(?:1[6-9]|[2]\d)(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(-02-29)$|^(?:(?:1[6-9]|[2-9]\d)\d{2})(-)(?:(?:0[1-9])|(?:1[0-2]))(-)(?:0[1-9]|1\d|2[0-8])$/,wjt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,sD="00000000-0000-0000-0000-000000000000",V7=e=>{const t=e.length,n=e.reduce((r,i)=>r+i)/t;return Math.sqrt(e.map(r=>Math.pow(r-n,2)).reduce((r,i)=>r+i)/t)},nve=(e,t)=>{if(!e||!t)return 0;let n=0;const r=e.replace(/[^a-zA-Z0-9]/g,"").toLowerCase(),i=t.replace(/[^a-zA-Z0-9]/g,"").toLowerCase();for(let a=0;a<r.length;a++){let o=0;for(let s=0;s<i.length;s++)r[a+s]===i[s]?o+=1:(o>n&&(n=o),o=0);o>n&&(n=o),o=0}return n},kjt=(e,t)=>{const n={providerIdents:{},dateDiffs:{},amountDiffs:{}};for(const s of t){const l=new Date(e.transactions[0].eventDate).getTime()-new Date(s.date).getTime();n.dateDiffs[e.id]=Math.abs(l);const c=(e.totalAmount?.raw??0)-s.amount.raw;n.amountDiffs[e.id]=Math.abs(c);const u=nve(s.creditor?.name??"",e.counterparty?.name??""),f=nve(s.creditor?.name??"",e.transactions[0].sourceDescription);n.providerIdents[e.id]=u>f?u:f}const r=V7(Object.values(n.providerIdents)),i=V7(Object.values(n.dateDiffs)),a=V7(Object.values(n.amountDiffs)),o=[];for(const s of t){let l=0;l=(i?Math.abs((n.dateDiffs[e.id]-Math.min(...Object.values(n.dateDiffs)))/i):0)+(a?Math.abs((n.amountDiffs[e.id]-Math.min(...Object.values(n.amountDiffs)))/a):0)+(r?(Math.max(...Object.values(n.providerIdents))-Math.abs(n.providerIdents[e.id]))/r:0),o.push({score:l,document:s})}return o.sort((s,l)=>s.score>l.score?1:s.score<l.score?-1:0),o};function Sjt(e){return e?.__typename==="Invoice"}function Cjt(e){return e?.__typename==="Receipt"}function _jt(e){return e?.__typename==="InvoiceReceipt"}function Njt(e){return e?.__typename==="CreditInvoice"}function Ejt(e){return e?.__typename==="Proforma"}function dE(e){switch(e){case Er.Invoice:return"Tax Invoice";case Er.Proforma:return"Proforma Invoice";case Er.InvoiceReceipt:return"Invoice / Receipt";case Er.CreditInvoice:return"Credit Note";case Er.Receipt:return"Receipt";case Er.Other:return"Other Document";case Er.Unprocessed:return"Unprocessed Document";default:throw new Error(`Unsupported document type: ${e}`)}}function QY(e){const t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download=e.name,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t)}function bLe(e){if(typeof e=="boolean"&&e===!0)return!0;if(typeof e=="object"){for(const t in e)if(bLe(e[t]))return!0}return!1}function wg(e,t){if(!t)return;if(t===!0)return e;if(typeof t=="object"&&!bLe(t))return;const n=Object.entries(t).filter(([i,a])=>!!a).map(([i,a])=>i);return Object.fromEntries(n.filter(i=>i in e).map(i=>{const a=t[i]===!0?e[i]:wg(e[i],t[i]);if(["localCurrencyAmount","originalAmount","withholdingTax","vat","tags","amount","defaultIrsCode","irsCode"].includes(i)&&a){const o=e[i];return delete o.formatted,[i,o]}return[i,a]}))}function rs(e){return Object.values(e??{}).filter(n=>n!==void 0&&(typeof n!="object"||(Array.isArray(n)?n.length>0:!rs(n)))).length===0}function al(e){return e.isDirty?"border-1 border-green-500":""}function Fjt(e,t){let n=e.definitions;return n&&=e.definitions.filter(r=>{if(r.kind==="FragmentDefinition"){if(t.has(r.name.value))return!1;t.add(r.name.value)}return!0}),{...e,definitions:n}}function lD(e){return Fjt(e,new Set)}const ti=(e,t=2)=>new Intl.NumberFormat("en-US",{minimumFractionDigits:t,maximumFractionDigits:t}).format(e);function xLe(e){return e.sort((t,n)=>{const r=[...t.namePath??[],t.name],i=[...n.namePath??[],n.name];for(let a=0;a<Math.max(r.length,i.length);a++){if(r[a]&&i[a]&&r[a]!==i[a])return r[a].localeCompare(i[a]);if(r[a]&&!i[a])return 1;if(!r[a]&&i[a])return-1}return t.name.localeCompare(n.name)})}function rve(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function cg(...e){return t=>{let n=!1;const r=e.map(i=>{const a=rve(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():rve(e[i],null)}}}}function Vr(...e){return w.useCallback(cg(...e),e)}function vy(e){const t=Djt(e),n=w.forwardRef((r,i)=>{const{children:a,...o}=r,s=w.Children.toArray(a),l=s.find(Ojt);if(l){const c=l.props.children,u=s.map(f=>f===l?w.Children.count(c)>1?w.Children.only(null):w.isValidElement(c)?c.props.children:null:f);return d.jsx(t,{...o,ref:i,children:w.isValidElement(c)?w.cloneElement(c,void 0,u):null})}return d.jsx(t,{...o,ref:i,children:a})});return n.displayName=`${e}.Slot`,n}var Fne=vy("Slot");function Djt(e){const t=w.forwardRef((n,r)=>{const{children:i,...a}=n;if(w.isValidElement(i)){const o=Ijt(i),s=Bjt(a,i.props);return i.type!==w.Fragment&&(s.ref=r?cg(r,o):o),w.cloneElement(i,s)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wLe=Symbol("radix.slottable");function Tjt(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=wLe,t}function Ojt(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wLe}function Bjt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function Ijt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var jjt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xn=jjt.reduce((e,t)=>{const n=vy(`Primitive.${t}`),r=w.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kLe(e,t){e&&Vf.flushSync(()=>e.dispatchEvent(t))}var Pjt="Separator",ive="horizontal",Mjt=["horizontal","vertical"],SLe=w.forwardRef((e,t)=>{const{decorative:n,orientation:r=ive,...i}=e,a=Rjt(r)?r:ive,s=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return d.jsx(xn.div,{"data-orientation":a,...s,...i,ref:t})});SLe.displayName=Pjt;function Rjt(e){return Mjt.includes(e)}var $jt=SLe;function qY({className:e,orientation:t="horizontal",decorative:n=!0,...r}){return d.jsx($jt,{"data-slot":"separator",decorative:n,orientation:t,className:_t("bg-gray-200 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px dark:bg-gray-800",e),...r})}function Pa({children:e,title:t,description:n,headerActions:r}){return d.jsxs("div",{className:"flex flex-col gap-5",id:"main-page",children:[d.jsxs("div",{className:"flex justify-between items-center",children:[d.jsx("h2",{className:"w-full text-2xl font-bold tracking-tight md:text-3xl",children:t}),n&&d.jsx("p",{className:"mt-2 text-gray-500",children:n}),r]}),d.jsx(qY,{}),e]})}const ave=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ove=Zn,Dne=(e,t)=>n=>{var r;if(t?.variants==null)return ove(e,n?.class,n?.className);const{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(c=>{const u=n?.[c],f=a?.[c];if(u===null)return null;const h=ave(u)||ave(f);return i[c][h]}),s=n&&Object.entries(n).reduce((c,u)=>{let[f,h]=u;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:f,className:h,...m}=u;return Object.entries(m).every(p=>{let[A,v]=p;return Array.isArray(v)?v.includes({...a,...s}[A]):{...a,...s}[A]===v})?[...c,f,h]:c},[]);return ove(e,o,l,n?.class,n?.className)},ug=Dne("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-gray-950 focus-visible:ring-gray-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:focus-visible:border-gray-300 dark:focus-visible:ring-gray-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",{variants:{variant:{default:"bg-gray-900 text-gray-50 shadow-xs hover:bg-gray-900/90 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50/90",destructive:"bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-500/60 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40 dark:dark:bg-red-900/60",outline:"border bg-white shadow-xs hover:bg-gray-100 hover:text-gray-900 dark:bg-gray-200/30 dark:border-gray-200 dark:hover:bg-gray-200/50 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:bg-gray-800/30 dark:dark:border-gray-800 dark:dark:hover:bg-gray-800/50",secondary:"bg-gray-100 text-gray-900 shadow-xs hover:bg-gray-100/80 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-800/80",ghost:"hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-100/50 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:hover:bg-gray-800/50",link:"text-gray-900 underline-offset-4 hover:underline dark:text-gray-50"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Ge({className:e,variant:t,size:n,asChild:r=!1,...i}){const a=r?Fne:"button";return d.jsx(a,{"data-slot":"button",className:_t(ug({variant:t,size:n,className:e})),...i})}const Ljt=({transactions:e,businessName:t,fromDate:n,toDate:r})=>{const i=w.useCallback(async()=>{const a=Ujt(e);return{fileName:`business_${t}_transactions${n?`_${n}`:""}${r?`_${r}`:""}`,fileContent:a}},[e,t,n,r]);return d.jsx(bL,{createFileVariables:i})},Ujt=e=>{let t="";const n=Array.from(new Set(e.filter(r=>r.foreignAmount?.currency).map(r=>r.foreignAmount.currency)));t+=`Sorting Date,Date,Amount,Amount Balance,${zjt(n)}Reference,Details,Counter Account\r
640
+ */const _It=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Xge=qt("zoom-out",_It),NIt="creditShareholdersBusinessTripTravelAndSubsistence",EIt=()=>{const[{fetching:e},t]=qn(BFt),n=w.useCallback(async r=>{const i=`Error crediting shareholders for trip ID ${r.businessTripId}`,a=`${NIt}-${r.businessTripId}`;qe.loading("Crediting Shareholders",{id:a});try{const o=await t(r),s=Gn(o,i,a);s&&qe.success("Shareholders Credited",{id:a,description:`${s.creditShareholdersBusinessTripTravelAndSubsistence.length} Corresponding charges were successfully generated`})}catch(o){console.error(`${i}: ${o}`),qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,creditShareholders:n}};function FIt({businessTripId:e}){const[t,n]=w.useState(!1),{creditShareholders:r}=EIt();return d.jsxs(Hi,{shadow:"md",width:200,opened:t,children:[d.jsx(Hi.Target,{children:d.jsx(one,{opened:t,onClick:i=>{i.stopPropagation(),n(a=>!a)}})}),d.jsxs(Hi.Dropdown,{children:[d.jsx(Hi.Label,{children:"Summarize Trip"}),d.jsx(Td,{onConfirm:()=>{r({businessTripId:e})},title:"Credit shareholders with travel and subsistence surplus?",children:d.jsx(Hi.Item,{icon:d.jsx(UY,{size:14}),children:"Credit surplus T&S"})})]})]})}const iLe=({data:e,onChange:t})=>{const n=$t(n2t,e),{name:r,dates:i,purpose:a,destination:o}=n;return d.jsxs(Xo,{children:[d.jsxs(Xo.Col,{span:12,className:"flex flex-row justify-between items-center",children:[d.jsx(er,{fz:"xl",children:r}),d.jsxs("div",{className:"flex flex-row gap-2",children:[d.jsx(EOt,{data:n,onChange:t}),d.jsx(Xx,{isLink:!0,content:`${window.location.origin}/business-trips/${n.id}`}),d.jsx(FIt,{businessTripId:n.id})]})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["From Date:",d.jsx(er,{fz:"lg",children:i?.start?Rt(new Date(i.start),"dd/MM/yy"):"Missing"})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["To Date:",d.jsx(er,{fz:"lg",children:i?.end?Rt(new Date(i.end),"dd/MM/yy"):"Missing"})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["Destination:",d.jsx(er,{fz:"lg",children:o?.name})]}),d.jsxs(Xo.Col,{xl:4,lg:6,md:12,orderMd:6,children:["Description:",d.jsx(er,{fz:"lg",children:a})]}),d.jsxs(Xo.Col,{xl:2,lg:3,md:6,children:["Total Days:",d.jsx(er,{fz:"lg",children:i?DIt(i.start,i.end):"Missing"})]})]})};function DIt(e,t){return zDt(Mge(new Date(t),22),Mge(new Date(e),6))+1}function S3(e,t){return new Intl.NumberFormat("en-US",{style:"currency",...t,currency:e})}function Oa(e){let t="₪";switch(e){case"USD":{t="$";break}case"EUR":{t="€";break}case"GBP":{t="£";break}case"CAD":{t="C$";break}case"JPY":{t="¥";break}case"AUD":{t="A$";break}case"SEK":{t="kr";break}case"GRT":{t="GRT";break}case"USDC":{t="USDC";break}case"ETH":{t="ETH";break}}return t}const _ne=[Vt.Ils,Vt.Eur,Vt.Usd,Vt.Gbp,Vt.Cad,Vt.Jpy,Vt.Aud,Vt.Sek];function TIt(e){return e.split("_").map(OIt).join(" ")}function OIt(e){return e.slice(0,1).toUpperCase()+e.slice(1,e.length).toLowerCase()}const aLe=({data:e})=>{const{summary:t}=$t(r2t,e);return t?d.jsxs("div",{className:"flex flex-col gap-2 mt-5",children:[t.errors?.length&&d.jsxs(xg,{shadow:"xs",p:"md",children:[d.jsx(er,{c:"red",children:"Errors:"}),d.jsx(Ep,{size:"sm",withPadding:!0,children:t.errors.map((n,r)=>d.jsx(Ep.Item,{children:d.jsx(er,{c:"red",children:n})},r))})]}),d.jsxs(go,{highlightOnHover:!0,withBorder:!0,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[d.jsx("th",{children:"Expense Type"}),d.jsxs("th",{children:["Total ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Total ",Oa(Vt.Ils)]}),d.jsxs("th",{children:["Max Taxable ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Taxable ",Oa(Vt.Usd)]}),d.jsxs("th",{children:["Taxable ",Oa(Vt.Ils)]}),d.jsx("th",{children:"Excess Expenditure"})]})}),d.jsx("tbody",{children:t.rows.map(n=>d.jsxs("tr",{children:[d.jsx("td",{children:TIt(n.type)}),d.jsx("td",{children:n.totalForeignCurrency?.formatted}),d.jsx("td",{children:n.totalLocalCurrency?.formatted}),d.jsx("td",{children:n.maxTaxableForeignCurrency?.formatted}),d.jsx("td",{children:n.taxableForeignCurrency?.formatted}),d.jsx("td",{children:n.taxableLocalCurrency?.formatted}),d.jsx("td",{children:n.excessExpenditure?.formatted})]},n.type))})]}),d.jsxs(Xo,{justify:"flex-end",children:[d.jsxs(Xo.Col,{lg:2,md:4,children:["Excess Expenditure Tax:",d.jsxs(er,{fz:"lg",children:[t.excessTax??"0","%"]})]}),d.jsx(Xo.Col,{lg:2,md:3,className:"flex flex-col justify-end",children:d.jsx(er,{fz:"lg",children:t.excessExpenditure?.formatted??"0.00"})})]})]}):d.jsx(er,{children:"Loading..."})},BIt=({data:e})=>{const t=$t(i2t,e);return d.jsxs(d.Fragment,{children:[d.jsx(iLe,{data:t,onChange:()=>{}}),d.jsx(aLe,{data:t})]})},Nne=({title:e,herf:t,style:n,target:r,rel:i,type:a="button",onClick:o,...s})=>d.jsx("button",{style:n,type:a,onClick:o,className:"cursor: pointer text-align: center flex ml-auto text-white bg-indigo-500 border-0 py-1.5 px-3 focus:outline-hidden hover:bg-indigo-600 rounded-sm;",...s,children:d.jsx("a",{rel:i,target:r,href:t,type:a,children:e})}),IIt=({title:e,url:t,style:n,target:r,textLabel:i,rel:a,type:o="button",onClick:s})=>d.jsxs("div",{children:[d.jsx("label",{className:"text-sm font-medium text-gray-700",children:i}),d.jsx("div",{children:d.jsx("button",{style:n,type:o,onClick:s,className:"bg-gray-100 border focus:ring-2 focus:ring-indigo-200 focus:bg-transparent hover:bg-indigo-500 hover:text-white text-base outline-hidden text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out sm:text-sm rounded-md",children:d.jsx("a",{rel:a,target:r,href:t,type:o,children:e})})})]});function oLe(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=oLe(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Zn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=oLe(e))&&(r&&(r+=" "),r+=t);return r}const Ene="-",jIt=e=>{const t=MIt(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(Ene);return s[0]===""&&s.length!==1&&s.shift(),sLe(s,t)||PIt(o)},getConflictingClassGroupIds:(o,s)=>{const l=n[o]||[];return s&&r[o]?[...l,...r[o]]:l}}},sLe=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?sLe(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Ene);return t.validators.find(({validator:o})=>o(a))?.classGroupId},Zge=/^\[(.+)\]$/,PIt=e=>{if(Zge.test(e)){const t=Zge.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},MIt=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)zY(n[i],r,i,t);return r},zY=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:Jge(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(RIt(i)){zY(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{zY(o,Jge(t,a),n,r)})})},Jge=(e,t)=>{let n=e;return t.split(Ene).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},RIt=e=>e.isThemeGetter,$It=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},HY="!",VY=":",LIt=VY.length,UIt=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let o=0,s=0,l=0,c;for(let p=0;p<i.length;p++){let A=i[p];if(o===0&&s===0){if(A===VY){a.push(i.slice(l,p)),l=p+LIt;continue}if(A==="/"){c=p;continue}}A==="["?o++:A==="]"?o--:A==="("?s++:A===")"&&s--}const u=a.length===0?i:i.substring(l),f=zIt(u),h=f!==u,m=c&&c>l?c-l:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:m}};if(t){const i=t+VY,a=r;r=o=>o.startsWith(i)?a(o.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},zIt=e=>e.endsWith(HY)?e.substring(0,e.length-1):e.startsWith(HY)?e.substring(1):e,HIt=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let a=[];return r.forEach(o=>{o[0]==="["||t[o]?(i.push(...a.sort(),o),a=[]):a.push(o)}),i.push(...a.sort()),i}},VIt=e=>({cache:$It(e.cacheSize),parseClassName:UIt(e),sortModifiers:HIt(e),...jIt(e)}),QIt=/\s+/,qIt=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(QIt);let l="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:f,modifiers:h,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:A}=n(u);if(f){l=u+(l.length>0?" "+l:l);continue}let v=!!A,y=r(v?p.substring(0,A):p);if(!y){if(!v){l=u+(l.length>0?" "+l:l);continue}if(y=r(p),!y){l=u+(l.length>0?" "+l:l);continue}v=!1}const x=a(h).join(":"),k=m?x+HY:x,S=k+y;if(o.includes(S))continue;o.push(S);const C=i(y,v);for(let N=0;N<C.length;++N){const E=C[N];o.push(k+E)}l=u+(l.length>0?" "+l:l)}return l};function GIt(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=lLe(t))&&(r&&(r+=" "),r+=n);return r}const lLe=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=lLe(e[r]))&&(n&&(n+=" "),n+=t);return n};function WIt(e,...t){let n,r,i,a=o;function o(l){const c=t.reduce((u,f)=>f(u),e());return n=VIt(c),r=n.cache.get,i=n.cache.set,a=s,s(l)}function s(l){const c=r(l);if(c)return c;const u=qIt(l,n);return i(l,u),u}return function(){return a(GIt.apply(null,arguments))}}const Rs=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},cLe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,uLe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,KIt=/^\d+\/\d+$/,YIt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,XIt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ZIt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,JIt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ejt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sw=e=>KIt.test(e),Yr=e=>!!e&&!Number.isNaN(Number(e)),wv=e=>!!e&&Number.isInteger(Number(e)),z7=e=>e.endsWith("%")&&Yr(e.slice(0,-1)),xA=e=>YIt.test(e),tjt=()=>!0,njt=e=>XIt.test(e)&&!ZIt.test(e),dLe=()=>!1,rjt=e=>JIt.test(e),ijt=e=>ejt.test(e),ajt=e=>!jn(e)&&!Pn(e),ojt=e=>lC(e,mLe,dLe),jn=e=>cLe.test(e),H0=e=>lC(e,pLe,njt),H7=e=>lC(e,djt,Yr),eve=e=>lC(e,fLe,dLe),sjt=e=>lC(e,hLe,ijt),A5=e=>lC(e,ALe,rjt),Pn=e=>uLe.test(e),q_=e=>cC(e,pLe),ljt=e=>cC(e,fjt),tve=e=>cC(e,fLe),cjt=e=>cC(e,mLe),ujt=e=>cC(e,hLe),g5=e=>cC(e,ALe,!0),lC=(e,t,n)=>{const r=cLe.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},cC=(e,t,n=!1)=>{const r=uLe.exec(e);return r?r[1]?t(r[1]):n:!1},fLe=e=>e==="position"||e==="percentage",hLe=e=>e==="image"||e==="url",mLe=e=>e==="length"||e==="size"||e==="bg-size",pLe=e=>e==="length",djt=e=>e==="number",fjt=e=>e==="family-name",ALe=e=>e==="shadow",hjt=()=>{const e=Rs("color"),t=Rs("font"),n=Rs("text"),r=Rs("font-weight"),i=Rs("tracking"),a=Rs("leading"),o=Rs("breakpoint"),s=Rs("container"),l=Rs("spacing"),c=Rs("radius"),u=Rs("shadow"),f=Rs("inset-shadow"),h=Rs("text-shadow"),m=Rs("drop-shadow"),p=Rs("blur"),A=Rs("perspective"),v=Rs("aspect"),y=Rs("ease"),x=Rs("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...S(),Pn,jn],N=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],D=()=>[Pn,jn,l],T=()=>[sw,"full","auto",...D()],P=()=>[wv,"none","subgrid",Pn,jn],O=()=>["auto",{span:["full",wv,Pn,jn]},wv,Pn,jn],B=()=>[wv,"auto",Pn,jn],M=()=>["auto","min","max","fr",Pn,jn],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...D()],V=()=>[sw,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],Q=()=>[e,Pn,jn],X=()=>[...S(),tve,eve,{position:[Pn,jn]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],le=()=>["auto","cover","contain",cjt,ojt,{size:[Pn,jn]}],H=()=>[z7,q_,H0],G=()=>["","none","full",c,Pn,jn],W=()=>["",Yr,q_,H0],te=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[Yr,z7,tve,eve],de=()=>["","none",p,Pn,jn],he=()=>["none",Yr,Pn,jn],pe=()=>["none",Yr,Pn,jn],oe=()=>[Yr,Pn,jn],J=()=>[sw,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xA],breakpoint:[xA],color:[tjt],container:[xA],"drop-shadow":[xA],ease:["in","out","in-out"],font:[ajt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xA],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xA],shadow:[xA],spacing:["px",Yr],text:[xA],"text-shadow":[xA],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sw,jn,Pn,v]}],container:["container"],columns:[{columns:[Yr,jn,Pn,s]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[wv,"auto",Pn,jn]}],basis:[{basis:[sw,"full","auto",s,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Yr,sw,"auto","initial","none",jn]}],grow:[{grow:["",Yr,Pn,jn]}],shrink:[{shrink:["",Yr,Pn,jn]}],order:[{order:[wv,"first","last","none",Pn,jn]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[s,"screen",...V()]}],"min-w":[{"min-w":[s,"screen","none",...V()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",n,q_,H0]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Pn,H7]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",z7,jn]}],"font-family":[{font:[ljt,jn,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Pn,jn]}],"line-clamp":[{"line-clamp":[Yr,"none",Pn,H7]}],leading:[{leading:[a,...D()]}],"list-image":[{"list-image":["none",Pn,jn]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Pn,jn]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:[Yr,"from-font","auto",Pn,H0]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[Yr,"auto",Pn,jn]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pn,jn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pn,jn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:le()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},wv,Pn,jn],radial:["",Pn,jn],conic:[wv,Pn,jn]},ujt,sjt]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...te(),"hidden","none"]}],"divide-style":[{divide:[...te(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Yr,Pn,jn]}],"outline-w":[{outline:["",Yr,q_,H0]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",u,g5,A5]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",f,g5,A5]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[Yr,H0]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",h,g5,A5]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[Yr,Pn,jn]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Yr]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Pn,jn]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[Yr]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Pn,jn]}],filter:[{filter:["","none",Pn,jn]}],blur:[{blur:de()}],brightness:[{brightness:[Yr,Pn,jn]}],contrast:[{contrast:[Yr,Pn,jn]}],"drop-shadow":[{"drop-shadow":["","none",m,g5,A5]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",Yr,Pn,jn]}],"hue-rotate":[{"hue-rotate":[Yr,Pn,jn]}],invert:[{invert:["",Yr,Pn,jn]}],saturate:[{saturate:[Yr,Pn,jn]}],sepia:[{sepia:["",Yr,Pn,jn]}],"backdrop-filter":[{"backdrop-filter":["","none",Pn,jn]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[Yr,Pn,jn]}],"backdrop-contrast":[{"backdrop-contrast":[Yr,Pn,jn]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Yr,Pn,jn]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Yr,Pn,jn]}],"backdrop-invert":[{"backdrop-invert":["",Yr,Pn,jn]}],"backdrop-opacity":[{"backdrop-opacity":[Yr,Pn,jn]}],"backdrop-saturate":[{"backdrop-saturate":[Yr,Pn,jn]}],"backdrop-sepia":[{"backdrop-sepia":["",Yr,Pn,jn]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Pn,jn]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Yr,"initial",Pn,jn]}],ease:[{ease:["linear","initial",y,Pn,jn]}],delay:[{delay:[Yr,Pn,jn]}],animate:[{animate:["none",x,Pn,jn]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,Pn,jn]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:he()}],"rotate-x":[{"rotate-x":he()}],"rotate-y":[{"rotate-y":he()}],"rotate-z":[{"rotate-z":he()}],scale:[{scale:pe()}],"scale-x":[{"scale-x":pe()}],"scale-y":[{"scale-y":pe()}],"scale-z":[{"scale-z":pe()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[Pn,jn,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Pn,jn]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Pn,jn]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[Yr,q_,H0,H7]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gLe=WIt(hjt);function _t(...e){return gLe(Zn(e))}const mjt="updateChargeAccountantApproval",vLe=()=>{const[{fetching:e},t]=qn(yDt),n=w.useCallback(async r=>{const i=`Error toggling accountant approval to ledger record ID [${r.chargeId}]`,a=`${mjt}-${r.chargeId}`;qe.loading("Updating approval status",{id:a});try{const o=await t(r),s=Gn(o,i,a,"updateChargeAccountantApproval");if(s)return qe.success("Success",{id:a,description:"Accountant approval was updated"}),s.updateChargeAccountantApproval}catch(o){console.error(`${i}: ${o}`),qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,updateChargeAccountantApproval:n}};function pjt({data:e,onChange:t}){const n=$t(M2t,e),[r,i]=w.useState(n.accountantApproval),{updateChargeAccountantApproval:a}=vLe();return w.useEffect(()=>{r==null&&n.accountantApproval!=null&&i(n.accountantApproval)},[r,n.accountantApproval]),d.jsx("td",{children:d.jsx(Lae,{value:r,onChange:o=>a({chargeId:n.id,status:o}).then(t)})})}const Ajt=({data:e})=>{const t=$t(R2t,e),[n,r]=w.useState(!0),[i,a]=w.useState(!0),o="validCreditCardAmount"in t?t.validCreditCardAmount:null;return w.useEffect(()=>{t.__typename==="CreditcardBankCharge"&&(a(o==null),o!=null&&r(o))},[t.__typename,o]),d.jsx("td",{children:d.jsx("div",{children:d.jsx(ya,{inline:!0,size:12,disabled:n,processing:i,color:"red",zIndex:"auto",children:d.jsx("p",{className:(t.totalAmount?.raw??0)>0?"whitespace-nowrap text-green-700":"whitespace-nowrap text-red-500",children:t.totalAmount?.formatted})})})})},gjt=({data:e})=>{const t=$t(k3e,e);return"businessTrip"in t?d.jsx("td",{children:d.jsx("a",{href:`/business-trips/${t.businessTrip?.id}`,target:"_blank",rel:"noreferrer",onClick:n=>n.stopPropagation(),children:d.jsx(Kh,{label:t.businessTrip?.name,className:"[&>*>.mantine-NavLink-label]:font-semibold"})})}):d.jsx("td",{})},vjt={CommonCharge:"Common",BusinessTripCharge:"Business Trip",DividendCharge:"Dividend",ConversionCharge:"Conversion",SalaryCharge:"Salary",InternalTransferCharge:"Internal Transfer",MonthlyVatCharge:"Monthly VAT",BankDepositCharge:"Bank Deposit",ForeignSecuritiesCharge:"Foreign Securities",CreditcardBankCharge:"Credit Card Bank Charge",FinancialCharge:"Financial Charge"},yLe=e=>vjt[e]??"Unknown",yjt={CommonCharge:d.jsx(K4,{}),BusinessTripCharge:d.jsx(RBt,{}),DividendCharge:d.jsx(dBt,{}),ConversionCharge:d.jsx(hBt,{}),SalaryCharge:d.jsx(xIt,{}),InternalTransferCharge:d.jsx(UOt,{}),MonthlyVatCharge:d.jsx(gk,{}),BankDepositCharge:d.jsx(IBt,{}),ForeignSecuritiesCharge:d.jsx(mIt,{}),CreditcardBankCharge:d.jsx(G3e,{}),FinancialCharge:d.jsx(eLe,{})},bjt=e=>yjt[e]??d.jsx(K4,{}),xjt=e=>{const t=()=>{console.log("clipboard successfully set")},n=()=>{console.log("clipboard failed")};navigator.clipboard.writeText(e).then(t,n)},ki=/^((?:1[6-9]|[2]\d)\d{2})(-)(?:((?:0[13578]|1[02])(-31))|(?:(?:0[1,3-9]|1[0-2])(-)(?:29|30)))$|^(?:(?:(?:1[6-9]|[2]\d)(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(-02-29)$|^(?:(?:1[6-9]|[2-9]\d)\d{2})(-)(?:(?:0[1-9])|(?:1[0-2]))(-)(?:0[1-9]|1\d|2[0-8])$/,wjt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,sD="00000000-0000-0000-0000-000000000000",V7=e=>{const t=e.length,n=e.reduce((r,i)=>r+i)/t;return Math.sqrt(e.map(r=>Math.pow(r-n,2)).reduce((r,i)=>r+i)/t)},nve=(e,t)=>{if(!e||!t)return 0;let n=0;const r=e.replace(/[^a-zA-Z0-9]/g,"").toLowerCase(),i=t.replace(/[^a-zA-Z0-9]/g,"").toLowerCase();for(let a=0;a<r.length;a++){let o=0;for(let s=0;s<i.length;s++)r[a+s]===i[s]?o+=1:(o>n&&(n=o),o=0);o>n&&(n=o),o=0}return n},kjt=(e,t)=>{const n={providerIdents:{},dateDiffs:{},amountDiffs:{}};for(const s of t){const l=new Date(e.transactions[0].eventDate).getTime()-new Date(s.date).getTime();n.dateDiffs[e.id]=Math.abs(l);const c=(e.totalAmount?.raw??0)-s.amount.raw;n.amountDiffs[e.id]=Math.abs(c);const u=nve(s.creditor?.name??"",e.counterparty?.name??""),f=nve(s.creditor?.name??"",e.transactions[0].sourceDescription);n.providerIdents[e.id]=u>f?u:f}const r=V7(Object.values(n.providerIdents)),i=V7(Object.values(n.dateDiffs)),a=V7(Object.values(n.amountDiffs)),o=[];for(const s of t){let l=0;l=(i?Math.abs((n.dateDiffs[e.id]-Math.min(...Object.values(n.dateDiffs)))/i):0)+(a?Math.abs((n.amountDiffs[e.id]-Math.min(...Object.values(n.amountDiffs)))/a):0)+(r?(Math.max(...Object.values(n.providerIdents))-Math.abs(n.providerIdents[e.id]))/r:0),o.push({score:l,document:s})}return o.sort((s,l)=>s.score>l.score?1:s.score<l.score?-1:0),o};function Sjt(e){return e?.__typename==="Invoice"}function Cjt(e){return e?.__typename==="Receipt"}function _jt(e){return e?.__typename==="InvoiceReceipt"}function Njt(e){return e?.__typename==="CreditInvoice"}function Ejt(e){return e?.__typename==="Proforma"}function dE(e){switch(e){case Er.Invoice:return"Tax Invoice";case Er.Proforma:return"Proforma Invoice";case Er.InvoiceReceipt:return"Invoice / Receipt";case Er.CreditInvoice:return"Credit Note";case Er.Receipt:return"Receipt";case Er.Other:return"Other Document";case Er.Unprocessed:return"Unprocessed Document";default:throw new Error(`Unsupported document type: ${e}`)}}function QY(e){const t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download=e.name,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t)}function bLe(e){if(typeof e=="boolean"&&e===!0)return!0;if(typeof e=="object"){for(const t in e)if(bLe(e[t]))return!0}return!1}function wg(e,t){if(!t)return;if(t===!0)return e;if(typeof t=="object"&&!bLe(t))return;const n=Object.entries(t).filter(([i,a])=>!!a).map(([i,a])=>i);return Object.fromEntries(n.filter(i=>i in e).map(i=>{const a=t[i]===!0?e[i]:wg(e[i],t[i]);if(["localCurrencyAmount","originalAmount","withholdingTax","vat","tags","amount","defaultIrsCode","irsCode"].includes(i)&&a){const o=e[i];return delete o.formatted,[i,o]}return[i,a]}))}function rs(e){return Object.values(e??{}).filter(n=>n!==void 0&&(typeof n!="object"||(Array.isArray(n)?n.length>0:!rs(n)))).length===0}function al(e){return e.isDirty?"border-1 border-green-500":""}function Fjt(e,t){let n=e.definitions;return n&&=e.definitions.filter(r=>{if(r.kind==="FragmentDefinition"){if(t.has(r.name.value))return!1;t.add(r.name.value)}return!0}),{...e,definitions:n}}function lD(e){return Fjt(e,new Set)}const ti=(e,t=2)=>new Intl.NumberFormat("en-US",{minimumFractionDigits:t,maximumFractionDigits:t}).format(e);function xLe(e){return e.sort((t,n)=>{const r=[...t.namePath??[],t.name],i=[...n.namePath??[],n.name];for(let a=0;a<Math.max(r.length,i.length);a++){if(r[a]&&i[a]&&r[a]!==i[a])return r[a].localeCompare(i[a]);if(r[a]&&!i[a])return 1;if(!r[a]&&i[a])return-1}return t.name.localeCompare(n.name)})}function rve(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function cg(...e){return t=>{let n=!1;const r=e.map(i=>{const a=rve(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():rve(e[i],null)}}}}function Vr(...e){return w.useCallback(cg(...e),e)}function vy(e){const t=Djt(e),n=w.forwardRef((r,i)=>{const{children:a,...o}=r,s=w.Children.toArray(a),l=s.find(Ojt);if(l){const c=l.props.children,u=s.map(f=>f===l?w.Children.count(c)>1?w.Children.only(null):w.isValidElement(c)?c.props.children:null:f);return d.jsx(t,{...o,ref:i,children:w.isValidElement(c)?w.cloneElement(c,void 0,u):null})}return d.jsx(t,{...o,ref:i,children:a})});return n.displayName=`${e}.Slot`,n}var Fne=vy("Slot");function Djt(e){const t=w.forwardRef((n,r)=>{const{children:i,...a}=n;if(w.isValidElement(i)){const o=Ijt(i),s=Bjt(a,i.props);return i.type!==w.Fragment&&(s.ref=r?cg(r,o):o),w.cloneElement(i,s)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wLe=Symbol("radix.slottable");function Tjt(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=wLe,t}function Ojt(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wLe}function Bjt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function Ijt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var jjt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xn=jjt.reduce((e,t)=>{const n=vy(`Primitive.${t}`),r=w.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kLe(e,t){e&&Vf.flushSync(()=>e.dispatchEvent(t))}var Pjt="Separator",ive="horizontal",Mjt=["horizontal","vertical"],SLe=w.forwardRef((e,t)=>{const{decorative:n,orientation:r=ive,...i}=e,a=Rjt(r)?r:ive,s=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return d.jsx(xn.div,{"data-orientation":a,...s,...i,ref:t})});SLe.displayName=Pjt;function Rjt(e){return Mjt.includes(e)}var $jt=SLe;function qY({className:e,orientation:t="horizontal",decorative:n=!0,...r}){return d.jsx($jt,{"data-slot":"separator",decorative:n,orientation:t,className:_t("bg-gray-200 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px dark:bg-gray-800",e),...r})}function Pa({children:e,title:t,description:n,headerActions:r}){return d.jsxs("div",{className:"flex flex-col gap-5",id:"main-page",children:[d.jsxs("div",{className:"flex justify-between items-center",children:[d.jsx("h2",{className:"w-full text-2xl font-bold tracking-tight md:text-3xl",children:t}),n&&d.jsx("p",{className:"mt-2 text-gray-500",children:n}),r]}),d.jsx(qY,{}),e]})}const ave=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ove=Zn,Dne=(e,t)=>n=>{var r;if(t?.variants==null)return ove(e,n?.class,n?.className);const{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(c=>{const u=n?.[c],f=a?.[c];if(u===null)return null;const h=ave(u)||ave(f);return i[c][h]}),s=n&&Object.entries(n).reduce((c,u)=>{let[f,h]=u;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:f,className:h,...m}=u;return Object.entries(m).every(p=>{let[A,v]=p;return Array.isArray(v)?v.includes({...a,...s}[A]):{...a,...s}[A]===v})?[...c,f,h]:c},[]);return ove(e,o,l,n?.class,n?.className)},ug=Dne("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-gray-950 focus-visible:ring-gray-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:focus-visible:border-gray-300 dark:focus-visible:ring-gray-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",{variants:{variant:{default:"bg-gray-900 text-gray-50 shadow-xs hover:bg-gray-900/90 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50/90",destructive:"bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-500/60 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40 dark:dark:bg-red-900/60",outline:"border bg-white shadow-xs hover:bg-gray-100 hover:text-gray-900 dark:bg-gray-200/30 dark:border-gray-200 dark:hover:bg-gray-200/50 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:bg-gray-800/30 dark:dark:border-gray-800 dark:dark:hover:bg-gray-800/50",secondary:"bg-gray-100 text-gray-900 shadow-xs hover:bg-gray-100/80 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-800/80",ghost:"hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-100/50 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:hover:bg-gray-800/50",link:"text-gray-900 underline-offset-4 hover:underline dark:text-gray-50"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Ge({className:e,variant:t,size:n,asChild:r=!1,...i}){const a=r?Fne:"button";return d.jsx(a,{"data-slot":"button",className:_t(ug({variant:t,size:n,className:e})),...i})}const Ljt=({transactions:e,businessName:t,fromDate:n,toDate:r})=>{const i=w.useCallback(async()=>{const a=Ujt(e);return{fileName:`business_${t}_transactions${n?`_${n}`:""}${r?`_${r}`:""}`,fileContent:a}},[e,t,n,r]);return d.jsx(bL,{createFileVariables:i})},Ujt=e=>{let t="";const n=Array.from(new Set(e.filter(r=>r.foreignAmount?.currency).map(r=>r.foreignAmount.currency)));t+=`Sorting Date,Date,Amount,Amount Balance,${zjt(n)}Reference,Details,Counter Account\r
641
641
  `;for(const r of e){const i=Vjt(r,n);t+=i}return t};function zjt(e){let t="";return e.map(n=>{const r=Oa(n);t+=`${n}(${r}) Amount,${n}(${r}) Balance,`}),t}function Hjt(e,t){let n="";return t.map(r=>{e.foreignAmount&&e.foreignAmount.currency===r?n+=`${e.foreignAmount.raw},${e[`${r.toLowerCase()}Balance`]??0},`:n+=",,"}),n}function Vjt(e,t){let n="";const r=e.invoiceDate?Rt(new Date(e.invoiceDate),"yyy-MM-dd"):null,i=e.invoiceDate?Rt(new Date(e.invoiceDate),"dd/MM/yy"):null,a=e.amount.raw,{ilsBalance:o,reference:s,details:l}=e,c=e.counterAccount?.name??"";return n+=`${r},${i},${a},${o},${Hjt(e,t)}${Q7(s??"")},${Q7(l??"")},${Q7(c)},\r
642
642
  `,n}function Q7(e){return e===""?"":Number.isNaN(Number(e))?String(e).replace(/"/g,'""').replace(/,/g,"."):Number(e).toFixed(2).toString()}function C3({businessID:e,filter:t}){const[n,r]=w.useState(!1),{fromDate:i,ownerIds:a,toDate:o}=t??{},[{data:s,fetching:l}]=rn({query:uEt,variables:{filters:{fromDate:i,ownerIds:a,toDate:o,businessIDs:[e]}}}),c=s?.businessTransactionsFromLedgerRecords.__typename==="CommonError"?[]:s?.businessTransactionsFromLedgerRecords.businessTransactions.sort((S,C)=>S.invoiceDate>C.invoiceDate?1:-1)??[],u=[];for(let S=0;S<c.length;S++){const{__typename:C,...N}=c[S],E=S===0?N.amount.raw:(u[S-1].ilsBalance??0)+N.amount.raw,D={};Object.values(Vt).map(T=>{if(T!==Vt.Ils){const P=`${T.toLowerCase()}Balance`;D[P]=S===0?(N.foreignAmount?.currency===T?N.foreignAmount?.raw:0)??0:(u[S-1]?.[P]??0)+(N.foreignAmount?.currency===T?N.foreignAmount?.raw:0)}}),u.push({...N,ilsBalance:E,...D})}const f=new Set(c.filter(S=>S.foreignAmount?.currency).map(S=>S.foreignAmount.currency)),h=n||f.has(Vt.Eur),m=n||f.has(Vt.Usd),p=n||f.has(Vt.Gbp),A=n||f.has(Vt.Cad),v=n||f.has(Vt.Jpy),y=n||f.has(Vt.Aud),x=n||f.has(Vt.Sek),k=c[0]?.business.name??"unknown";return d.jsx("div",{className:"flex flex-row gap-5",children:l?d.jsx(Hc,{}):d.jsxs(go,{striped:!0,highlightOnHover:!0,children:[d.jsx("thead",{style:{position:"sticky",top:0,zIndex:20},children:d.jsxs("tr",{className:"px-10 py-10 title-font tracking-wider font-medium text-gray-900 text-sm bg-gray-100 rounded-tl rounded-bl",children:[d.jsx("th",{children:"Business Name"}),d.jsx("th",{children:"Date"}),d.jsx("th",{children:"Amount"}),d.jsx("th",{children:"Amount Balance"}),h&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"EUR Amount"}),d.jsx("th",{children:"EUR Balance"})]}),m&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"USD Amount"}),d.jsx("th",{children:"USD Balance"})]}),p&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"GBP Amount"}),d.jsx("th",{children:"GBP Balance"})]}),A&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"CAD Amount"}),d.jsx("th",{children:"CAD Balance"})]}),v&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"JPY Amount"}),d.jsx("th",{children:"JPY Balance"})]}),y&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"AUD Amount"}),d.jsx("th",{children:"AUD Balance"})]}),x&&d.jsxs(d.Fragment,{children:[d.jsx("th",{children:"SEK Amount"}),d.jsx("th",{children:"SEK Balance"})]}),d.jsx("th",{children:d.jsx(Vn,{label:"Expand all currencies",children:d.jsx(Ge,{variant:"outline",size:"icon",className:"size-7.5",onClick:()=>r(S=>!S),children:n?d.jsx(q3e,{className:"size-5"}):d.jsx(Q3e,{className:"size-5"})})})}),n&&d.jsx(d.Fragment,{children:CLe.map(S=>d.jsxs(d.Fragment,{children:[d.jsxs("th",{children:[S," Amount"]}),d.jsxs("th",{children:[S," Balance"]})]}))}),d.jsx("th",{children:"Reference"}),d.jsx("th",{children:"Details"}),d.jsx("th",{children:"Counter Account"}),d.jsx("th",{children:d.jsx(Ljt,{transactions:u,businessName:k,fromDate:t?.fromDate??void 0,toDate:t?.toDate??void 0})})]})}),d.jsx("tbody",{children:u.map((S,C)=>d.jsxs("tr",{onClick:N=>{N.stopPropagation(),window.open(zy(S.chargeId),"_blank","noreferrer")},children:[d.jsx("td",{children:d.jsx("a",{href:`/business-transactions/${S.business.id}`,target:"_blank",rel:"noreferrer",onClick:N=>N.stopPropagation(),children:d.jsx(Kh,{label:S.business.name,className:"[&>*>.mantine-NavLink-label]:font-semibold"})})}),d.jsx("td",{children:S.invoiceDate?Rt(new Date(S.invoiceDate),"dd/MM/yy"):null}),d.jsx("td",{style:{whiteSpace:"nowrap"},children:S.amount&&S.amount.raw!==0&&d.jsx(gy,{color:S.amount.raw>0?"green":"red",children:S.amount.formatted})}),d.jsx("td",{children:S.ilsBalance===0?`${Oa(Vt.Ils)} ${ti(S.ilsBalance)}`:d.jsx(gy,{color:S.ilsBalance>0?"green":"red",children:`${Oa(Vt.Ils)} ${ti(S.ilsBalance)}`})}),h&&d.jsx(Fv,{data:S,currency:Vt.Eur}),m&&d.jsx(Fv,{data:S,currency:Vt.Usd}),p&&d.jsx(Fv,{data:S,currency:Vt.Gbp}),A&&d.jsx(Fv,{data:S,currency:Vt.Cad}),v&&d.jsx(Fv,{data:S,currency:Vt.Jpy}),y&&d.jsx(Fv,{data:S,currency:Vt.Aud}),x&&d.jsx(Fv,{data:S,currency:Vt.Sek}),d.jsx("td",{}),n&&d.jsx(Qjt,{data:S}),d.jsx("td",{children:S.reference}),d.jsx("td",{children:S.details}),d.jsx("td",{children:S.counterAccount&&d.jsx("a",{href:`/business-transactions/${S.counterAccount?.id}`,target:"_blank",rel:"noreferrer",onClick:N=>N.stopPropagation(),children:d.jsx(Kh,{label:S.counterAccount?.name,className:"[&>*>.mantine-NavLink-label]:font-semibold"})})}),d.jsx("td",{})]},C))})]})})}function Fv({currency:e,data:t}){const n=t.foreignAmount&&t.foreignAmount.currency===e?t.foreignAmount:null,r=`${e.toLowerCase()}Balance`;return d.jsxs(d.Fragment,{children:[d.jsx("td",{style:{whiteSpace:"nowrap"},children:!!n&&n.raw!==0&&d.jsx(gy,{color:n.raw>0?"green":"red",children:n.formatted})}),d.jsx("td",{children:(t[r]??0)!==0&&(t[r]===0?`${Oa(e)} ${ti(t[r])}`:d.jsx(gy,{color:t[r]>0?"green":"red",children:`${Oa(e)} ${ti(t[r])}`}))})]})}const CLe=Object.values(Vt).filter(e=>!_ne.includes(e));function Qjt({data:e}){return d.jsx(d.Fragment,{children:CLe.map(t=>d.jsx(Fv,{currency:t,data:e},t))})}var q7,sve;function _Le(){if(sve)return q7;sve=1;var e=Object.prototype.toString;return q7=function(n){var r=e.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),i},q7}var G7,lve;function qjt(){if(lve)return G7;lve=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=_Le(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(h){var m=h.constructor;return m&&m.prototype===h},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},u=(function(){if(typeof window>"u")return!1;for(var h in window)try{if(!c["$"+h]&&t.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{l(window[h])}catch{return!0}}catch{return!0}return!1})(),f=function(h){if(typeof window>"u"||!u)return l(h);try{return l(h)}catch{return!1}};e=function(m){var p=m!==null&&typeof m=="object",A=n.call(m)==="[object Function]",v=r(m),y=p&&n.call(m)==="[object String]",x=[];if(!p&&!A&&!v)throw new TypeError("Object.keys called on a non-object");var k=o&&A;if(y&&m.length>0&&!t.call(m,0))for(var S=0;S<m.length;++S)x.push(String(S));if(v&&m.length>0)for(var C=0;C<m.length;++C)x.push(String(C));else for(var N in m)!(k&&N==="prototype")&&t.call(m,N)&&x.push(String(N));if(a)for(var E=f(m),D=0;D<s.length;++D)!(E&&s[D]==="constructor")&&t.call(m,s[D])&&x.push(s[D]);return x}}return G7=e,G7}var W7,cve;function Tne(){if(cve)return W7;cve=1;var e=Array.prototype.slice,t=_Le(),n=Object.keys,r=n?function(o){return n(o)}:qjt(),i=Object.keys;return r.shim=function(){if(Object.keys){var o=(function(){var s=Object.keys(arguments);return s&&s.length===arguments.length})(1,2);o||(Object.keys=function(l){return t(l)?i(e.call(l)):i(l)})}else Object.keys=r;return Object.keys||r},W7=r,W7}var K7,uve;function _3(){if(uve)return K7;uve=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return K7=e,K7}var Y7,dve;function One(){return dve||(dve=1,Y7=SyntaxError),Y7}var X7,fve;function Wf(){return fve||(fve=1,X7=TypeError),X7}var Z7,hve;function Gjt(){return hve||(hve=1,Z7=Object.getOwnPropertyDescriptor),Z7}var J7,mve;function Qx(){if(mve)return J7;mve=1;var e=Gjt();if(e)try{e([],"length")}catch{e=null}return J7=e,J7}var ez,pve;function Bne(){if(pve)return ez;pve=1;var e=_3(),t=One(),n=Wf(),r=Qx();return ez=function(a,o,s){if(!a||typeof a!="object"&&typeof a!="function")throw new n("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,h=!!r&&r(a,o);if(e)e(a,o,{configurable:u===null&&h?h.configurable:!u,enumerable:l===null&&h?h.enumerable:!l,value:s,writable:c===null&&h?h.writable:!c});else if(f||!l&&!c&&!u)a[o]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ez}var tz,Ave;function Ine(){if(Ave)return tz;Ave=1;var e=_3(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},tz=t,tz}var nz,gve;function qx(){if(gve)return nz;gve=1;var e=Tne(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=Bne(),a=function(c){return typeof c=="function"&&n.call(c)==="[object Function]"},o=Ine()(),s=function(c,u,f,h){if(u in c){if(h===!0){if(c[u]===f)return}else if(!a(h)||!h())return}o?i(c,u,f,!0):i(c,u,f)},l=function(c,u){var f=arguments.length>2?arguments[2]:{},h=e(u);t&&(h=r.call(h,Object.getOwnPropertySymbols(u)));for(var m=0;m<h.length;m+=1)s(c,h[m],u[h[m]],f[h[m]])};return l.supportsDescriptors=!!o,nz=l,nz}var rz={exports:{}},iz,vve;function jne(){return vve||(vve=1,iz=Object),iz}var az,yve;function NLe(){return yve||(yve=1,az=Error),az}var oz,bve;function Wjt(){return bve||(bve=1,oz=EvalError),oz}var sz,xve;function Kjt(){return xve||(xve=1,sz=RangeError),sz}var lz,wve;function Yjt(){return wve||(wve=1,lz=ReferenceError),lz}var cz,kve;function Xjt(){return kve||(kve=1,cz=URIError),cz}var uz,Sve;function Zjt(){return Sve||(Sve=1,uz=Math.abs),uz}var dz,Cve;function Jjt(){return Cve||(Cve=1,dz=Math.floor),dz}var fz,_ve;function ePt(){return _ve||(_ve=1,fz=Math.max),fz}var hz,Nve;function tPt(){return Nve||(Nve=1,hz=Math.min),hz}var mz,Eve;function nPt(){return Eve||(Eve=1,mz=Math.pow),mz}var pz,Fve;function rPt(){return Fve||(Fve=1,pz=Math.round),pz}var Az,Dve;function iPt(){return Dve||(Dve=1,Az=Number.isNaN||function(t){return t!==t}),Az}var gz,Tve;function aPt(){if(Tve)return gz;Tve=1;var e=iPt();return gz=function(n){return e(n)||n===0?n:n<0?-1:1},gz}var vz,Ove;function N3(){return Ove||(Ove=1,vz=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),vz}var yz,Bve;function Pne(){if(Bve)return yz;Bve=1;var e=typeof Symbol<"u"&&Symbol,t=N3();return yz=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},yz}var bz,Ive;function ELe(){return Ive||(Ive=1,bz=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),bz}var xz,jve;function FLe(){if(jve)return xz;jve=1;var e=jne();return xz=e.getPrototypeOf||null,xz}var wz,Pve;function oPt(){if(Pve)return wz;Pve=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(l,c){for(var u=[],f=0;f<l.length;f+=1)u[f]=l[f];for(var h=0;h<c.length;h+=1)u[h+l.length]=c[h];return u},a=function(l,c){for(var u=[],f=c,h=0;f<l.length;f+=1,h+=1)u[h]=l[f];return u},o=function(s,l){for(var c="",u=0;u<s.length;u+=1)c+=s[u],u+1<s.length&&(c+=l);return c};return wz=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==r)throw new TypeError(e+c);for(var u=a(arguments,1),f,h=function(){if(this instanceof f){var y=c.apply(this,i(u,arguments));return Object(y)===y?y:this}return c.apply(l,i(u,arguments))},m=n(0,c.length-u.length),p=[],A=0;A<m;A++)p[A]="$"+A;if(f=Function("binder","return function ("+o(p,",")+"){ return binder.apply(this,arguments); }")(h),c.prototype){var v=function(){};v.prototype=c.prototype,f.prototype=new v,v.prototype=null}return f},wz}var kz,Mve;function cD(){if(Mve)return kz;Mve=1;var e=oPt();return kz=Function.prototype.bind||e,kz}var Sz,Rve;function Mne(){return Rve||(Rve=1,Sz=Function.prototype.call),Sz}var Cz,$ve;function Rne(){return $ve||($ve=1,Cz=Function.prototype.apply),Cz}var _z,Lve;function sPt(){return Lve||(Lve=1,_z=typeof Reflect<"u"&&Reflect&&Reflect.apply),_z}var Nz,Uve;function DLe(){if(Uve)return Nz;Uve=1;var e=cD(),t=Rne(),n=Mne(),r=sPt();return Nz=r||e.call(n,t),Nz}var Ez,zve;function $ne(){if(zve)return Ez;zve=1;var e=cD(),t=Wf(),n=Mne(),r=DLe();return Ez=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return r(e,n,a)},Ez}var Fz,Hve;function lPt(){if(Hve)return Fz;Hve=1;var e=$ne(),t=Qx(),n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var r=!!n&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return Fz=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(s){return a(s==null?s:i(s))}:!1,Fz}var Dz,Vve;function E3(){if(Vve)return Dz;Vve=1;var e=ELe(),t=FLe(),n=lPt();return Dz=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:n?function(i){return n(i)}:null,Dz}var Tz,Qve;function Lne(){if(Qve)return Tz;Qve=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=cD();return Tz=n.call(e,t),Tz}var Oz,qve;function kg(){if(qve)return Oz;qve=1;var e,t=jne(),n=NLe(),r=Wjt(),i=Kjt(),a=Yjt(),o=One(),s=Wf(),l=Xjt(),c=Zjt(),u=Jjt(),f=ePt(),h=tPt(),m=nPt(),p=rPt(),A=aPt(),v=Function,y=function(he){try{return v('"use strict"; return ('+he+").constructor;")()}catch{}},x=Qx(),k=_3(),S=function(){throw new s},C=x?(function(){try{return arguments.callee,S}catch{try{return x(arguments,"callee").get}catch{return S}}})():S,N=Pne()(),E=E3(),D=FLe(),T=ELe(),P=Rne(),O=Mne(),B={},M=typeof Uint8Array>"u"||!E?e:E(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":N&&E?E([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N&&E?E(E([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!N||!E?e:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!N||!E?e:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N&&E?E(""[Symbol.iterator]()):e,"%Symbol%":N?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":C,"%TypedArray%":M,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":P,"%Object.defineProperty%":k,"%Object.getPrototypeOf%":D,"%Math.abs%":c,"%Math.floor%":u,"%Math.max%":f,"%Math.min%":h,"%Math.pow%":m,"%Math.round%":p,"%Math.sign%":A,"%Reflect.getPrototypeOf%":T};if(E)try{null.error}catch(he){var U=E(E(he));$["%Error.prototype%"]=U}var j=function he(pe){var oe;if(pe==="%AsyncFunction%")oe=y("async function () {}");else if(pe==="%GeneratorFunction%")oe=y("function* () {}");else if(pe==="%AsyncGeneratorFunction%")oe=y("async function* () {}");else if(pe==="%AsyncGenerator%"){var J=he("%AsyncGeneratorFunction%");J&&(oe=J.prototype)}else if(pe==="%AsyncIteratorPrototype%"){var Se=he("%AsyncGenerator%");Se&&E&&(oe=E(Se.prototype))}return $[pe]=oe,oe},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Q=cD(),X=Lne(),Z=Q.call(O,Array.prototype.concat),le=Q.call(P,Array.prototype.splice),H=Q.call(O,String.prototype.replace),G=Q.call(O,String.prototype.slice),W=Q.call(O,RegExp.prototype.exec),te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,re=/\\(\\)?/g,ne=function(pe){var oe=G(pe,0,1),J=G(pe,-1);if(oe==="%"&&J!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(J==="%"&&oe!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Se=[];return H(pe,te,function(be,we,me,K){Se[Se.length]=me?H(K,re,"$1"):we||be}),Se},de=function(pe,oe){var J=pe,Se;if(X(V,J)&&(Se=V[J],J="%"+Se[0]+"%"),X($,J)){var be=$[J];if(be===B&&(be=j(J)),typeof be>"u"&&!oe)throw new s("intrinsic "+pe+" exists, but is not available. Please file an issue!");return{alias:Se,name:J,value:be}}throw new o("intrinsic "+pe+" does not exist!")};return Oz=function(pe,oe){if(typeof pe!="string"||pe.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof oe!="boolean")throw new s('"allowMissing" argument must be a boolean');if(W(/^%?[^%]*%?$/,pe)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var J=ne(pe),Se=J.length>0?J[0]:"",be=de("%"+Se+"%",oe),we=be.name,me=be.value,K=!1,ie=be.alias;ie&&(Se=ie[0],le(J,Z([0,1],ie)));for(var ce=1,ue=!0;ce<J.length;ce+=1){var ve=J[ce],ke=G(ve,0,1),Re=G(ve,-1);if((ke==='"'||ke==="'"||ke==="`"||Re==='"'||Re==="'"||Re==="`")&&ke!==Re)throw new o("property names with quotes must have matching quotes");if((ve==="constructor"||!ue)&&(K=!0),Se+="."+ve,we="%"+Se+"%",X($,we))me=$[we];else if(me!=null){if(!(ve in me)){if(!oe)throw new s("base intrinsic for "+pe+" exists, but the property is not available.");return}if(x&&ce+1>=J.length){var Me=x(me,ve);ue=!!Me,ue&&"get"in Me&&!("originalValue"in Me.get)?me=Me.get:me=me[ve]}else ue=X(me,ve),me=me[ve];ue&&!K&&($[we]=me)}}return me},Oz}var Bz,Gve;function cPt(){if(Gve)return Bz;Gve=1;var e=kg(),t=Bne(),n=Ine()(),r=Qx(),i=Wf(),a=e("%Math.floor%");return Bz=function(s,l){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||a(l)!==l)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],u=!0,f=!0;if("length"in s&&r){var h=r(s,"length");h&&!h.configurable&&(u=!1),h&&!h.writable&&(f=!1)}return(u||f||!c)&&(n?t(s,"length",l,!0,!0):t(s,"length",l)),s},Bz}var Iz,Wve;function uPt(){if(Wve)return Iz;Wve=1;var e=cD(),t=Rne(),n=DLe();return Iz=function(){return n(e,t,arguments)},Iz}var Kve;function uC(){return Kve||(Kve=1,(function(e){var t=cPt(),n=_3(),r=$ne(),i=uPt();e.exports=function(o){var s=r(arguments),l=o.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i})(rz)),rz.exports}var jz,Yve;function Ul(){if(Yve)return jz;Yve=1;var e=kg(),t=$ne(),n=t([e("%String.prototype.indexOf%")]);return jz=function(i,a){var o=e(i,!!a);return typeof o=="function"&&n(i,".prototype.")>-1?t([o]):o},jz}var Pz,Xve;function TLe(){if(Xve)return Pz;Xve=1;var e=Tne(),t=N3()(),n=Ul(),r=jne(),i=n("Array.prototype.push"),a=n("Object.prototype.propertyIsEnumerable"),o=t?r.getOwnPropertySymbols:null;return Pz=function(l,c){if(l==null)throw new TypeError("target must be an object");var u=r(l);if(arguments.length===1)return u;for(var f=1;f<arguments.length;++f){var h=r(arguments[f]),m=e(h),p=t&&(r.getOwnPropertySymbols||o);if(p)for(var A=p(h),v=0;v<A.length;++v){var y=A[v];a(h,y)&&i(m,y)}for(var x=0;x<m.length;++x){var k=m[x];if(a(h,k)){var S=h[k];u[k]=S}}}return u},Pz}var Mz,Zve;function OLe(){if(Zve)return Mz;Zve=1;var e=TLe(),t=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",i=r.split(""),a={},o=0;o<i.length;++o)a[i[o]]=i[o];var s=Object.assign({},a),l="";for(var c in s)l+=c;return r!==l},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};return Mz=function(){return!Object.assign||t()||n()?e:Object.assign},Mz}var Rz,Jve;function dPt(){if(Jve)return Rz;Jve=1;var e=qx(),t=OLe();return Rz=function(){var r=t();return e(Object,{assign:r},{assign:function(){return Object.assign!==r}}),r},Rz}var $z,eye;function fPt(){if(eye)return $z;eye=1;var e=qx(),t=uC(),n=TLe(),r=OLe(),i=dPt(),a=t.apply(r()),o=function(l,c){return a(Object,arguments)};return e(o,{getPolyfill:r,implementation:n,shim:i}),$z=o,$z}var Lz,tye;function BLe(){if(tye)return Lz;tye=1;var e=kg(),t=uC(),n=t(e("String.prototype.indexOf"));return Lz=function(i,a){var o=e(i,!!a);return typeof o=="function"&&n(i,".prototype.")>-1?t(o):o},Lz}var Uz,nye;function hPt(){if(nye)return Uz;nye=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var i=t(function(){},"name");return!!i&&!!i.configurable};var n=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof n=="function"&&(function(){}).bind().name!==""},Uz=e,Uz}var zz,rye;function mPt(){if(rye)return zz;rye=1;var e=Bne(),t=Ine()(),n=hPt().functionsHaveConfigurableNames(),r=Wf();return zz=function(a,o){if(typeof a!="function")throw new r("`fn` is not a function");var s=arguments.length>2&&!!arguments[2];return(!s||n)&&(t?e(a,"name",o,!0,!0):e(a,"name",o)),a},zz}var Hz,iye;function ILe(){if(iye)return Hz;iye=1;var e=mPt(),t=Wf(),n=Object;return Hz=e(function(){if(this==null||this!==n(this))throw new t("RegExp.prototype.flags getter called on non-object");var i="";return this.hasIndices&&(i+="d"),this.global&&(i+="g"),this.ignoreCase&&(i+="i"),this.multiline&&(i+="m"),this.dotAll&&(i+="s"),this.unicode&&(i+="u"),this.unicodeSets&&(i+="v"),this.sticky&&(i+="y"),i},"get flags",!0),Hz}var Vz,aye;function jLe(){if(aye)return Vz;aye=1;var e=ILe(),t=qx().supportsDescriptors,n=Object.getOwnPropertyDescriptor;return Vz=function(){if(t&&/a/mig.flags==="gim"){var i=n(RegExp.prototype,"flags");if(i&&typeof i.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var a="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){a+="d"}}),Object.defineProperty(o,"sticky",{get:function(){a+="y"}}),i.get.call(o),a==="dy")return i.get}}return e},Vz}var Qz,oye;function pPt(){if(oye)return Qz;oye=1;var e=qx().supportsDescriptors,t=jLe(),n=Qx(),r=Object.defineProperty,i=NLe(),a=E3(),o=/a/;return Qz=function(){if(!e||!a)throw new i("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=t(),c=a(o),u=n(c,"flags");return(!u||u.get!==l)&&r(c,"flags",{configurable:!0,enumerable:!1,get:l}),l},Qz}var qz,sye;function APt(){if(sye)return qz;sye=1;var e=qx(),t=uC(),n=ILe(),r=jLe(),i=pPt(),a=t(r());return e(a,{getPolyfill:r,implementation:n,shim:i}),qz=a,qz}var G_={exports:{}},Gz,lye;function $y(){if(lye)return Gz;lye=1;var e=N3();return Gz=function(){return e()&&!!Symbol.toStringTag},Gz}var Wz,cye;function Une(){if(cye)return Wz;cye=1;var e=$y()(),t=Ul(),n=t("Object.prototype.toString"),r=function(s){return e&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:n(s)==="[object Arguments]"},i=function(s){return r(s)?!0:s!==null&&typeof s=="object"&&"length"in s&&typeof s.length=="number"&&s.length>=0&&n(s)!=="[object Array]"&&"callee"in s&&n(s.callee)==="[object Function]"},a=(function(){return r(arguments)})();return r.isLegacyArguments=i,Wz=a?r:i,Wz}const gPt={},vPt=Object.freeze(Object.defineProperty({__proto__:null,default:gPt},Symbol.toStringTag,{value:"Module"})),yPt=fst(vPt);var Kz,uye;function F3(){if(uye)return Kz;uye=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&typeof a.get=="function"?a.get:null,s=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,f=u?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,m=h?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,A=Object.prototype.toString,v=Function.prototype.toString,y=String.prototype.match,x=String.prototype.slice,k=String.prototype.replace,S=String.prototype.toUpperCase,C=String.prototype.toLowerCase,N=RegExp.prototype.test,E=Array.prototype.concat,D=Array.prototype.join,T=Array.prototype.slice,P=Math.floor,O=typeof BigInt=="function"?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,$=typeof Symbol=="function"&&typeof Symbol.iterator=="object",U=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===$||!0)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Te){return Te.__proto__}:null);function Q(Te,Pe){if(Te===1/0||Te===-1/0||Te!==Te||Te&&Te>-1e3&&Te<1e3||N.call(/e/,Pe))return Pe;var st=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Te=="number"){var Xe=Te<0?-P(-Te):P(Te);if(Xe!==Te){var it=String(Xe),lt=x.call(Pe,it.length+1);return k.call(it,st,"$&_")+"."+k.call(k.call(lt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return k.call(Pe,st,"$&_")}var X=yPt,Z=X.custom,le=be(Z)?Z:null,H={__proto__:null,double:'"',single:"'"},G={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Kz=function Te(Pe,st,Xe,it){var lt=st||{};if(K(lt,"quoteStyle")&&!K(H,lt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(lt,"maxStringLength")&&(typeof lt.maxStringLength=="number"?lt.maxStringLength<0&&lt.maxStringLength!==1/0:lt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Pt=K(lt,"customInspect")?lt.customInspect:!0;if(typeof Pt!="boolean"&&Pt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(lt,"indent")&&lt.indent!==null&&lt.indent!==" "&&!(parseInt(lt.indent,10)===lt.indent&&lt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(lt,"numericSeparator")&&typeof lt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Ft=lt.numericSeparator;if(typeof Pe>"u")return"undefined";if(Pe===null)return"null";if(typeof Pe=="boolean")return Pe?"true":"false";if(typeof Pe=="string")return tt(Pe,lt);if(typeof Pe=="number"){if(Pe===0)return 1/0/Pe>0?"0":"-0";var St=String(Pe);return Ft?Q(Pe,St):St}if(typeof Pe=="bigint"){var cn=String(Pe)+"n";return Ft?Q(Pe,cn):cn}var fn=typeof lt.depth>"u"?5:lt.depth;if(typeof Xe>"u"&&(Xe=0),Xe>=fn&&fn>0&&typeof Pe=="object")return ne(Pe)?"[Array]":"[Object]";var pn=_e(lt,Xe);if(typeof it>"u")it=[];else if(ue(it,Pe)>=0)return"[Circular]";function Le(mr,Sa,La){if(Sa&&(it=T.call(it),it.push(Sa)),La){var Mr={depth:lt.depth};return K(lt,"quoteStyle")&&(Mr.quoteStyle=lt.quoteStyle),Te(mr,Mr,Xe+1,it)}return Te(mr,lt,Xe+1,it)}if(typeof Pe=="function"&&!he(Pe)){var ze=ce(Pe),Je=Ue(Pe,Le);return"[Function"+(ze?": "+ze:" (anonymous)")+"]"+(Je.length>0?" { "+D.call(Je,", ")+" }":"")}if(be(Pe)){var gt=$?k.call(String(Pe),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(Pe);return typeof Pe=="object"&&!$?vt(gt):gt}if(We(Pe)){for(var xt="<"+C.call(String(Pe.nodeName)),Gt=Pe.attributes||[],Kt=0;Kt<Gt.length;Kt++)xt+=" "+Gt[Kt].name+"="+W(te(Gt[Kt].value),"double",lt);return xt+=">",Pe.childNodes&&Pe.childNodes.length&&(xt+="..."),xt+="</"+C.call(String(Pe.nodeName))+">",xt}if(ne(Pe)){if(Pe.length===0)return"[]";var Wt=Ue(Pe,Le);return pn&&!se(Wt)?"["+Fe(Wt,pn)+"]":"[ "+D.call(Wt,", ")+" ]"}if(pe(Pe)){var tn=Ue(Pe,Le);return!("cause"in Error.prototype)&&"cause"in Pe&&!j.call(Pe,"cause")?"{ ["+String(Pe)+"] "+D.call(E.call("[cause]: "+Le(Pe.cause),tn),", ")+" }":tn.length===0?"["+String(Pe)+"]":"{ ["+String(Pe)+"] "+D.call(tn,", ")+" }"}if(typeof Pe=="object"&&Pt){if(le&&typeof Pe[le]=="function"&&X)return X(Pe,{depth:fn-Xe});if(Pt!=="symbol"&&typeof Pe.inspect=="function")return Pe.inspect()}if(ve(Pe)){var Sn=[];return r&&r.call(Pe,function(mr,Sa){Sn.push(Le(Sa,Pe,!0)+" => "+Le(mr,Pe))}),ee("Map",n.call(Pe),Sn,pn)}if(Me(Pe)){var hn=[];return s&&s.call(Pe,function(mr){hn.push(Le(mr,Pe))}),ee("Set",o.call(Pe),hn,pn)}if(ke(Pe))return Ae("WeakMap");if($e(Pe))return Ae("WeakSet");if(Re(Pe))return Ae("WeakRef");if(J(Pe))return vt(Le(Number(Pe)));if(we(Pe))return vt(Le(O.call(Pe)));if(Se(Pe))return vt(p.call(Pe));if(oe(Pe))return vt(Le(String(Pe)));if(typeof window<"u"&&Pe===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Pe===globalThis||typeof yu<"u"&&Pe===yu)return"{ [object globalThis] }";if(!de(Pe)&&!he(Pe)){var yt=Ue(Pe,Le),an=V?V(Pe)===Object.prototype:Pe instanceof Object||Pe.constructor===Object,Dn=Pe instanceof Object?"":"null prototype",mn=!an&&U&&Object(Pe)===Pe&&U in Pe?x.call(ie(Pe),8,-1):Dn?"Object":"",Dr=an||typeof Pe.constructor!="function"?"":Pe.constructor.name?Pe.constructor.name+" ":"",Cn=Dr+(mn||Dn?"["+D.call(E.call([],mn||[],Dn||[]),": ")+"] ":"");return yt.length===0?Cn+"{}":pn?Cn+"{"+Fe(yt,pn)+"}":Cn+"{ "+D.call(yt,", ")+" }"}return String(Pe)};function W(Te,Pe,st){var Xe=st.quoteStyle||Pe,it=H[Xe];return it+Te+it}function te(Te){return k.call(String(Te),/"/g,"&quot;")}function re(Te){return!U||!(typeof Te=="object"&&(U in Te||typeof Te[U]<"u"))}function ne(Te){return ie(Te)==="[object Array]"&&re(Te)}function de(Te){return ie(Te)==="[object Date]"&&re(Te)}function he(Te){return ie(Te)==="[object RegExp]"&&re(Te)}function pe(Te){return ie(Te)==="[object Error]"&&re(Te)}function oe(Te){return ie(Te)==="[object String]"&&re(Te)}function J(Te){return ie(Te)==="[object Number]"&&re(Te)}function Se(Te){return ie(Te)==="[object Boolean]"&&re(Te)}function be(Te){if($)return Te&&typeof Te=="object"&&Te instanceof Symbol;if(typeof Te=="symbol")return!0;if(!Te||typeof Te!="object"||!M)return!1;try{return M.call(Te),!0}catch{}return!1}function we(Te){if(!Te||typeof Te!="object"||!O)return!1;try{return O.call(Te),!0}catch{}return!1}var me=Object.prototype.hasOwnProperty||function(Te){return Te in this};function K(Te,Pe){return me.call(Te,Pe)}function ie(Te){return A.call(Te)}function ce(Te){if(Te.name)return Te.name;var Pe=y.call(v.call(Te),/^function\s*([\w$]+)/);return Pe?Pe[1]:null}function ue(Te,Pe){if(Te.indexOf)return Te.indexOf(Pe);for(var st=0,Xe=Te.length;st<Xe;st++)if(Te[st]===Pe)return st;return-1}function ve(Te){if(!n||!Te||typeof Te!="object")return!1;try{n.call(Te);try{o.call(Te)}catch{return!0}return Te instanceof Map}catch{}return!1}function ke(Te){if(!c||!Te||typeof Te!="object")return!1;try{c.call(Te,c);try{f.call(Te,f)}catch{return!0}return Te instanceof WeakMap}catch{}return!1}function Re(Te){if(!m||!Te||typeof Te!="object")return!1;try{return m.call(Te),!0}catch{}return!1}function Me(Te){if(!o||!Te||typeof Te!="object")return!1;try{o.call(Te);try{n.call(Te)}catch{return!0}return Te instanceof Set}catch{}return!1}function $e(Te){if(!f||!Te||typeof Te!="object")return!1;try{f.call(Te,f);try{c.call(Te,c)}catch{return!0}return Te instanceof WeakSet}catch{}return!1}function We(Te){return!Te||typeof Te!="object"?!1:typeof HTMLElement<"u"&&Te instanceof HTMLElement?!0:typeof Te.nodeName=="string"&&typeof Te.getAttribute=="function"}function tt(Te,Pe){if(Te.length>Pe.maxStringLength){var st=Te.length-Pe.maxStringLength,Xe="... "+st+" more character"+(st>1?"s":"");return tt(x.call(Te,0,Pe.maxStringLength),Pe)+Xe}var it=G[Pe.quoteStyle||"single"];it.lastIndex=0;var lt=k.call(k.call(Te,it,"\\$1"),/[\x00-\x1f]/g,ot);return W(lt,"single",Pe)}function ot(Te){var Pe=Te.charCodeAt(0),st={8:"b",9:"t",10:"n",12:"f",13:"r"}[Pe];return st?"\\"+st:"\\x"+(Pe<16?"0":"")+S.call(Pe.toString(16))}function vt(Te){return"Object("+Te+")"}function Ae(Te){return Te+" { ? }"}function ee(Te,Pe,st,Xe){var it=Xe?Fe(st,Xe):D.call(st,", ");return Te+" ("+Pe+") {"+it+"}"}function se(Te){for(var Pe=0;Pe<Te.length;Pe++)if(ue(Te[Pe],`
643
643
  `)>=0)return!1;return!0}function _e(Te,Pe){var st;if(Te.indent===" ")st=" ";else if(typeof Te.indent=="number"&&Te.indent>0)st=D.call(Array(Te.indent+1)," ");else return null;return{base:st,prev:D.call(Array(Pe+1),st)}}function Fe(Te,Pe){if(Te.length===0)return"";var st=`
@@ -810,7 +810,7 @@ T* `):Y.join(` Tj
810
810
  endobj\r
811
811
  `},n.outline.count_r=function(r,i){for(var a=0;a<i.children.length;a++)r.count++,this.count_r(r,i.children[a]);return r.count}}])})(Wn.API),(function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,r,i,a,o,s){var l,c=this.decode.DCT_DECODE,u=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=o||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,l=(function(f){for(var h,m=256*f.charCodeAt(4)+f.charCodeAt(5),p=f.length,A={width:0,height:0,numcomponents:1},v=4;v<p;v+=2){if(v+=m,t.indexOf(f.charCodeAt(v+1))!==-1){h=256*f.charCodeAt(v+5)+f.charCodeAt(v+6),A={width:256*f.charCodeAt(v+7)+f.charCodeAt(v+8),height:h,numcomponents:f.charCodeAt(v+9)};break}m=256*f.charCodeAt(v+2)+f.charCodeAt(v+3)}return A})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),l.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}u={data:n,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:c,index:r,alias:i}}return u}})(Wn.API),Wn.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,a=iZt(e,{checkCrc:!0}),o=a.width,s=a.height,l=a.channels,c=a.palette,u=a.depth;i=c&&l===1?(function(E){for(var D=E.width,T=E.height,P=E.data,O=E.palette,B=E.depth,M=!1,$=[],U=[],j=void 0,V=!1,Q=0,X=0;X<O.length;X++){var Z=Xxe(O[X],4),le=Z[0],H=Z[1],G=Z[2],W=Z[3];$.push(le,H,G),W!=null&&(W===0?(Q++,U.length<1&&U.push(X)):W<255&&(V=!0))}if(V||Q>1){M=!0,U=void 0;var te=D*T;j=new Uint8Array(te);for(var re=new DataView(P.buffer),ne=0;ne<te;ne++){var de=GH(re,ne,B),he=Xxe(O[de],4)[3];j[ne]=he}}return{colorSpace:"Indexed",colorsPerPixel:1,colorBytes:P,alphaBytes:j,needSMask:M,palette:$,mask:U}})(a):l===2||l===4?(function(E){for(var D=E.data,T=E.width,P=E.height,O=E.channels,B=E.depth,M=O===2?"DeviceGray":"DeviceRGB",$=O-1,U=T*P,j=$,V=U*j,Q=1*U,X=Math.ceil(V*B/8),Z=Math.ceil(Q*B/8),le=new Uint8Array(X),H=new Uint8Array(Z),G=new DataView(D.buffer),W=new DataView(le.buffer),te=new DataView(H.buffer),re=!1,ne=0;ne<U;ne++){for(var de=ne*O,he=0;he<j;he++)nwe(W,GH(G,de+he,B),ne*j+he,B);var pe=GH(G,de+j,B);pe<(1<<B)-1&&(re=!0),nwe(te,pe,1*ne,B)}return{colorSpace:M,colorsPerPixel:$,colorBytes:le,alphaBytes:H,needSMask:re}})(a):(function(E){var D=E.data,T=E.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:T,colorsPerPixel:T==="DeviceGray"?1:3,colorBytes:D instanceof Uint8Array?D:new Uint8Array(D.buffer),needSMask:!1}})(a);var f,h,m,p=i,A=p.colorSpace,v=p.colorsPerPixel,y=p.colorBytes,x=p.alphaBytes,k=p.needSMask,S=p.palette,C=p.mask,N=null;return r!==Wn.API.image_compression.NONE&&typeof VX=="function"?(N=(function(E){var D;switch(E){case Wn.API.image_compression.FAST:D=11;break;case Wn.API.image_compression.MEDIUM:D=13;break;case Wn.API.image_compression.SLOW:D=14;break;default:D=12}return D})(r),f=this.decode.FLATE_DECODE,h="/Predictor ".concat(N," "),e=X1e(y,o*v,v,r),k&&(m=X1e(x,o,1,r))):(f=void 0,h="",e=y,k&&(m=x)),h+="/Colors ".concat(v," /BitsPerComponent ").concat(u," /Columns ").concat(o),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(m&&this.__addimage__.isArrayBuffer(m)||this.__addimage__.isArrayBufferView(m))&&(m=this.__addimage__.arrayBufferToBinaryString(m)),{alias:n,data:e,index:t,filter:f,decodeParameters:h,transparency:C,palette:S,sMask:m,predictor:N,width:o,height:s,bitsPerComponent:u,colorSpace:A}}},(function(e){e.processGIF89A=function(t,n,r,i){var a=new CZt(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},u=new WH(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A})(Wn.API),xh.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},xh.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){ma.log("bit decode error:"+n)}},xh.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}n!==0&&(this.pos+=4-n)}},xh.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,s=a>>4,l=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}t!==0&&(this.pos+=4-t)}},xh.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}e!==0&&(this.pos+=4-e)}},xh.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,c=a>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},xh.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/t*255|0,u=i*this.width*4+4*a;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},xh.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},xh.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=o}},xh.prototype.getData=function(){return this.data},(function(e){e.processBMP=function(t,n,r,i){var a=new xh(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new WH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(Wn.API),iwe.prototype.getData=function(){return this.data},(function(e){e.processWEBP=function(t,n,r,i){var a=new iwe(t),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new WH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(Wn.API),Wn.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,a=new Uint8Array(i/4*3),o=new Uint8Array(i/4),s=0,l=0,c=0;c<i;c+=4){var u=r[c],f=r[c+1],h=r[c+2],m=r[c+3];a[s++]=u,a[s++]=f,a[s++]=h,o[l++]=m}var p=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:p,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Wn.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},gw=Wn.API,pB=gw.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:i.metadata.Unicode.widths,l=s.fof?s.fof:1,c=t.kerning?t.kerning:i.metadata.Unicode.kerning,u=c.fof?c.fof:1,f=t.doKerning!==!1,h=0,m=e.length,p=0,A=s[0]||l,v=[];for(n=0;n<m;n++)r=e.charCodeAt(n),typeof i.metadata.widthOfString=="function"?v.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/a)||0)/1e3):(h=f&&Zi(c[r])==="object"&&!isNaN(parseInt(c[r][p],10))?c[r][p]/u:0,v.push((s[r]||A)/l+h)),p=r;return v},W1e=gw.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return gw.processArabic&&(e=gw.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:pB.apply(this,arguments).reduce(function(a,o){return a+o},0)},K1e=function(e,t,n,r){for(var i=[],a=0,o=e.length,s=0;a!==o&&s+t[a]<n;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>r&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},Y1e=function(e,t,n){n||(n={});var r,i,a,o,s,l,c,u=[],f=[u],h=n.textIndent||0,m=0,p=0,A=e.split(" "),v=pB.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?A[0].length+2:n.lineIndent||0){var y=Array(l).join(" "),x=[];A.map(function(S){(S=S.split(/\s*\n/)).length>1?x=x.concat(S.map(function(C,N){return(N&&C.length?`
812
812
  `:"")+C})):x.push(S[0])}),A=x,l=W1e.apply(this,[y,n])}for(a=0,o=A.length;a<o;a++){var k=0;if(r=A[a],l&&r[0]==`
813
- `&&(r=r.substr(1),k=1),h+m+(p=(i=pB.apply(this,[r,n])).reduce(function(S,C){return S+C},0))>t||k){if(p>t){for(s=K1e.apply(this,[r,i,t-(h+m),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(r.length-(u[0]?u[0].length:0)).reduce(function(S,C){return S+C},0)}else u=[r];f.push(u),h=p+l,m=v}else u.push(r),h+=m+p,m=v}return c=l?function(S,C){return(C?y:"")+S.join(" ")}:function(S){return S.join(" ")},f.map(c)},gw.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var f=this.internal.getFont(u.fontName,u.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Y1e.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[n[a]]=t[a],i[t[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=e.__fontmetrics__.compress=function(h){var m,p,A,v,y=["{"];for(var x in h){if(m=h[x],isNaN(parseInt(x,10))?p="'"+x+"'":(x=parseInt(x,10),p=(p=o(x).slice(2)).slice(0,-1)+i[p.slice(-1)]),typeof m=="number")m<0?(A=o(m).slice(3),v="-"):(A=o(m).slice(2),v=""),A=v+A.slice(0,-1)+i[A.slice(-1)];else{if(Zi(m)!=="object")throw new Error("Don't know what to do with value type "+Zi(m)+".");A=s(m)}y.push(p+A)}return y.push("}"),y.join("")},l=e.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,p,A,v,y={},x=1,k=y,S=[],C="",N="",E=h.length-1,D=1;D<E;D+=1)(v=h[D])=="'"?m?(A=m.join(""),m=void 0):m=[]:m?m.push(v):v=="{"?(S.push([k,A]),k={},A=void 0):v=="}"?((p=S.pop())[0][p[1]]=k,A=void 0,k=p[0]):v=="-"?x=-1:A===void 0?r.hasOwnProperty(v)?(C+=r[v],A=parseInt(C,16)*x,x=1,C=""):C+=v:r.hasOwnProperty(v)?(N+=r[v],k[A]=parseInt(N,16)*x,x=1,A=void 0,N=""):N+=v;return y},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(h){var m=h.font,p=f.Unicode[m.postScriptName];p&&(m.metadata.Unicode={},m.metadata.Unicode.widths=p.widths,m.metadata.Unicode.kerning=p.kerning);var A=u.Unicode[m.postScriptName];A&&(m.metadata.Unicode.encoding=A,m.encoding=A.codePages[0])}])})(Wn.API),(function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=n.charCodeAt(a);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,a=n.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?t(s):t(cj(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(Wn),Wn.API.addSvgAsImage=function(e,t,n,r,i,a,o,s){if(isNaN(t)||isNaN(n))throw ma.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw ma.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(wr.canvg?Promise.resolve(wr.canvg):NH(()=>import("./index.es-IF0zAsTQ.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(u)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,s)})},Wn.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},Wn.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,u=0,f=0;function h(p,A){var v,y=!1;for(v=0;v<p.length;v+=1)p[v]===A&&(y=!0);return y}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(Zi(e)==="object"){for(i in e)if(a=e[i],h(s,i)&&a!==void 0){if(n[i].type==="boolean"&&typeof a=="boolean")n[i].value=a;else if(n[i].type==="name"&&h(n[i].valueSet,a))n[i].value=a;else if(n[i].type==="integer"&&Number.isInteger(a))n[i].value=a;else if(n[i].type==="array"){for(c=0;c<a.length;c+=1)if(r=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(u=0;u<a[c].length;u+=1)typeof a[c][u]!="number"&&(r=!1);r===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var p,A=[];for(p in n)n[p].explicitSet===!0&&(n[p].type==="name"?A.push("/"+p+" /"+n[p].value):A.push("/"+p+" "+n[p].value));A.length!==0&&this.internal.write(`/ViewerPreferences
813
+ `&&(r=r.substr(1),k=1),h+m+(p=(i=pB.apply(this,[r,n])).reduce(function(S,C){return S+C},0))>t||k){if(p>t){for(s=K1e.apply(this,[r,i,t-(h+m),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(r.length-(u[0]?u[0].length:0)).reduce(function(S,C){return S+C},0)}else u=[r];f.push(u),h=p+l,m=v}else u.push(r),h+=m+p,m=v}return c=l?function(S,C){return(C?y:"")+S.join(" ")}:function(S){return S.join(" ")},f.map(c)},gw.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var f=this.internal.getFont(u.fontName,u.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Y1e.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[n[a]]=t[a],i[t[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=e.__fontmetrics__.compress=function(h){var m,p,A,v,y=["{"];for(var x in h){if(m=h[x],isNaN(parseInt(x,10))?p="'"+x+"'":(x=parseInt(x,10),p=(p=o(x).slice(2)).slice(0,-1)+i[p.slice(-1)]),typeof m=="number")m<0?(A=o(m).slice(3),v="-"):(A=o(m).slice(2),v=""),A=v+A.slice(0,-1)+i[A.slice(-1)];else{if(Zi(m)!=="object")throw new Error("Don't know what to do with value type "+Zi(m)+".");A=s(m)}y.push(p+A)}return y.push("}"),y.join("")},l=e.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,p,A,v,y={},x=1,k=y,S=[],C="",N="",E=h.length-1,D=1;D<E;D+=1)(v=h[D])=="'"?m?(A=m.join(""),m=void 0):m=[]:m?m.push(v):v=="{"?(S.push([k,A]),k={},A=void 0):v=="}"?((p=S.pop())[0][p[1]]=k,A=void 0,k=p[0]):v=="-"?x=-1:A===void 0?r.hasOwnProperty(v)?(C+=r[v],A=parseInt(C,16)*x,x=1,C=""):C+=v:r.hasOwnProperty(v)?(N+=r[v],k[A]=parseInt(N,16)*x,x=1,A=void 0,N=""):N+=v;return y},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(h){var m=h.font,p=f.Unicode[m.postScriptName];p&&(m.metadata.Unicode={},m.metadata.Unicode.widths=p.widths,m.metadata.Unicode.kerning=p.kerning);var A=u.Unicode[m.postScriptName];A&&(m.metadata.Unicode.encoding=A,m.encoding=A.codePages[0])}])})(Wn.API),(function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=n.charCodeAt(a);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,a=n.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?t(s):t(cj(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(Wn),Wn.API.addSvgAsImage=function(e,t,n,r,i,a,o,s){if(isNaN(t)||isNaN(n))throw ma.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw ma.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(wr.canvg?Promise.resolve(wr.canvg):NH(()=>import("./index.es-DaHo1LF8.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(u)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,s)})},Wn.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},Wn.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,u=0,f=0;function h(p,A){var v,y=!1;for(v=0;v<p.length;v+=1)p[v]===A&&(y=!0);return y}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(Zi(e)==="object"){for(i in e)if(a=e[i],h(s,i)&&a!==void 0){if(n[i].type==="boolean"&&typeof a=="boolean")n[i].value=a;else if(n[i].type==="name"&&h(n[i].valueSet,a))n[i].value=a;else if(n[i].type==="integer"&&Number.isInteger(a))n[i].value=a;else if(n[i].type==="array"){for(c=0;c<a.length;c+=1)if(r=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(u=0;u<a[c].length;u+=1)typeof a[c][u]!="number"&&(r=!1);r===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var p,A=[];for(p in n)n[p].explicitSet===!0&&(n[p].type==="name"?A.push("/"+p+" /"+n[p].value):A.push("/"+p+" "+n[p].value));A.length!==0&&this.internal.write(`/ViewerPreferences
814
814
  <<
815
815
  `+A.join(`
816
816
  `)+`
@@ -982,7 +982,7 @@ export default theme;`}function vCe(e){return typeof e=="number"?`${(e*100).toFi
982
982
  `))):pe=G.stylize("[Circular]","special")),D(he)){if(de&&ne.match(/^\d+$/))return pe;he=JSON.stringify(""+ne),he.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(he=he.slice(1,-1),he=G.stylize(he,"name")):(he=he.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),he=G.stylize(he,"string"))}return he+": "+pe}function v(G,W,te){var re=G.reduce(function(ne,de){return de.indexOf(`
983
983
  `)>=0,ne+de.replace(/\u001b\[\d\d?m/g,"").length+1},0);return re>60?te[0]+(W===""?"":W+`
984
984
  `)+" "+G.join(`,
985
- `)+" "+te[1]:te[0]+W+" "+G.join(", ")+" "+te[1]}e.types=v2n();function y(G){return Array.isArray(G)}e.isArray=y;function x(G){return typeof G=="boolean"}e.isBoolean=x;function k(G){return G===null}e.isNull=k;function S(G){return G==null}e.isNullOrUndefined=S;function C(G){return typeof G=="number"}e.isNumber=C;function N(G){return typeof G=="string"}e.isString=N;function E(G){return typeof G=="symbol"}e.isSymbol=E;function D(G){return G===void 0}e.isUndefined=D;function T(G){return P(G)&&U(G)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function P(G){return typeof G=="object"&&G!==null}e.isObject=P;function O(G){return P(G)&&U(G)==="[object Date]"}e.isDate=O,e.types.isDate=O;function B(G){return P(G)&&(U(G)==="[object Error]"||G instanceof Error)}e.isError=B,e.types.isNativeError=B;function M(G){return typeof G=="function"}e.isFunction=M;function $(G){return G===null||typeof G=="boolean"||typeof G=="number"||typeof G=="string"||typeof G=="symbol"||typeof G>"u"}e.isPrimitive=$,e.isBuffer=y2n();function U(G){return Object.prototype.toString.call(G)}function j(G){return G<10?"0"+G.toString(10):G.toString(10)}var V=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Q(){var G=new Date,W=[j(G.getHours()),j(G.getMinutes()),j(G.getSeconds())].join(":");return[G.getDate(),V[G.getMonth()],W].join(" ")}e.log=function(){console.log("%s - %s",Q(),e.format.apply(e,arguments))},e.inherits=u1(),e._extend=function(G,W){if(!W||!P(W))return G;for(var te=Object.keys(W),re=te.length;re--;)G[te[re]]=W[te[re]];return G};function X(G,W){return Object.prototype.hasOwnProperty.call(G,W)}var Z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(Z&&W[Z]){var te=W[Z];if(typeof te!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(te,Z,{value:te,enumerable:!1,writable:!1,configurable:!0}),te}function te(){for(var re,ne,de=new Promise(function(oe,J){re=oe,ne=J}),he=[],pe=0;pe<arguments.length;pe++)he.push(arguments[pe]);he.push(function(oe,J){oe?ne(oe):re(J)});try{W.apply(this,he)}catch(oe){ne(oe)}return de}return Object.setPrototypeOf(te,Object.getPrototypeOf(W)),Z&&Object.defineProperty(te,Z,{value:te,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(te,n(W))},e.promisify.custom=Z;function le(G,W){if(!G){var te=new Error("Promise was rejected with a falsy value");te.reason=G,G=te}return W(G)}function H(G){if(typeof G!="function")throw new TypeError('The "original" argument must be of type Function');function W(){for(var te=[],re=0;re<arguments.length;re++)te.push(arguments[re]);var ne=te.pop();if(typeof ne!="function")throw new TypeError("The last argument must be of type Function");var de=this,he=function(){return ne.apply(de,arguments)};G.apply(this,te).then(function(pe){Xn.nextTick(he.bind(null,null,pe))},function(pe){Xn.nextTick(le.bind(null,pe,he))})}return Object.setPrototypeOf(W,Object.getPrototypeOf(G)),Object.defineProperties(W,n(G)),W}e.callbackify=H})(_Q)),_Q}var TQ,INe;function b2n(){if(INe)return TQ;INe=1;function e(p,A){var v=Object.keys(p);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(p);A&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(p,x).enumerable})),v.push.apply(v,y)}return v}function t(p){for(var A=1;A<arguments.length;A++){var v=arguments[A]!=null?arguments[A]:{};A%2?e(Object(v),!0).forEach(function(y){n(p,y,v[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(y){Object.defineProperty(p,y,Object.getOwnPropertyDescriptor(v,y))})}return p}function n(p,A,v){return A=o(A),A in p?Object.defineProperty(p,A,{value:v,enumerable:!0,configurable:!0,writable:!0}):p[A]=v,p}function r(p,A){if(!(p instanceof A))throw new TypeError("Cannot call a class as a function")}function i(p,A){for(var v=0;v<A.length;v++){var y=A[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(p,o(y.key),y)}}function a(p,A,v){return A&&i(p.prototype,A),Object.defineProperty(p,"prototype",{writable:!1}),p}function o(p){var A=s(p,"string");return typeof A=="symbol"?A:String(A)}function s(p,A){if(typeof p!="object"||p===null)return p;var v=p[Symbol.toPrimitive];if(v!==void 0){var y=v.call(p,A);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}var l=wT(),c=l.Buffer,u=Aet(),f=u.inspect,h=f&&f.custom||"inspect";function m(p,A,v){c.prototype.copy.call(p,A,v)}return TQ=(function(){function p(){r(this,p),this.head=null,this.tail=null,this.length=0}return a(p,[{key:"push",value:function(v){var y={data:v,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:"unshift",value:function(v){var y={data:v,next:this.head};this.length===0&&(this.tail=y),this.head=y,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var y=this.head,x=""+y.data;y=y.next;)x+=v+y.data;return x}},{key:"concat",value:function(v){if(this.length===0)return c.alloc(0);for(var y=c.allocUnsafe(v>>>0),x=this.head,k=0;x;)m(x.data,y,k),k+=x.data.length,x=x.next;return y}},{key:"consume",value:function(v,y){var x;return v<this.head.data.length?(x=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?x=this.shift():x=y?this._getString(v):this._getBuffer(v),x}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var y=this.head,x=1,k=y.data;for(v-=k.length;y=y.next;){var S=y.data,C=v>S.length?S.length:v;if(C===S.length?k+=S:k+=S.slice(0,v),v-=C,v===0){C===S.length?(++x,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=S.slice(C));break}++x}return this.length-=x,k}},{key:"_getBuffer",value:function(v){var y=c.allocUnsafe(v),x=this.head,k=1;for(x.data.copy(y),v-=x.data.length;x=x.next;){var S=x.data,C=v>S.length?S.length:v;if(S.copy(y,y.length-v,0,C),v-=C,v===0){C===S.length?(++k,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=S.slice(C));break}++k}return this.length-=k,y}},{key:h,value:function(v,y){return f(this,t(t({},y),{},{depth:0,customInspect:!1}))}}]),p})(),TQ}var OQ,jNe;function get(){if(jNe)return OQ;jNe=1;function e(o,s){var l=this,c=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return c||u?(s?s(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Xn.nextTick(i,this,o)):Xn.nextTick(i,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(f){!s&&f?l._writableState?l._writableState.errorEmitted?Xn.nextTick(n,l):(l._writableState.errorEmitted=!0,Xn.nextTick(t,l,f)):Xn.nextTick(t,l,f):s?(Xn.nextTick(n,l),s(f)):Xn.nextTick(n,l)}),this)}function t(o,s){i(o,s),n(o)}function n(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(o,s){o.emit("error",s)}function a(o,s){var l=o._readableState,c=o._writableState;l&&l.autoDestroy||c&&c.autoDestroy?o.destroy(s):o.emit("error",s)}return OQ={destroy:e,undestroy:r,errorOrDestroy:a},OQ}var BQ={},PNe;function _C(){if(PNe)return BQ;PNe=1;function e(s,l){s.prototype=Object.create(l.prototype),s.prototype.constructor=s,s.__proto__=l}var t={};function n(s,l,c){c||(c=Error);function u(h,m,p){return typeof l=="string"?l:l(h,m,p)}var f=(function(h){e(m,h);function m(p,A,v){return h.call(this,u(p,A,v))||this}return m})(c);f.prototype.name=c.name,f.prototype.code=s,t[s]=f}function r(s,l){if(Array.isArray(s)){var c=s.length;return s=s.map(function(u){return String(u)}),c>2?"one of ".concat(l," ").concat(s.slice(0,c-1).join(", "),", or ")+s[c-1]:c===2?"one of ".concat(l," ").concat(s[0]," or ").concat(s[1]):"of ".concat(l," ").concat(s[0])}else return"of ".concat(l," ").concat(String(s))}function i(s,l,c){return s.substr(0,l.length)===l}function a(s,l,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-l.length,c)===l}function o(s,l,c){return typeof c!="number"&&(c=0),c+l.length>s.length?!1:s.indexOf(l,c)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,l){return'The value "'+l+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,l,c){var u;typeof l=="string"&&i(l,"not ")?(u="must not be",l=l.replace(/^not /,"")):u="must be";var f;if(a(s," argument"))f="The ".concat(s," ").concat(u," ").concat(r(l,"type"));else{var h=o(s,".")?"property":"argument";f='The "'.concat(s,'" ').concat(h," ").concat(u," ").concat(r(l,"type"))}return f+=". Received type ".concat(typeof c),f},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),BQ.codes=t,BQ}var IQ,MNe;function vet(){if(MNe)return IQ;MNe=1;var e=_C().codes.ERR_INVALID_OPT_VALUE;function t(r,i,a){return r.highWaterMark!=null?r.highWaterMark:i?r[a]:null}function n(r,i,a,o){var s=t(i,o,a);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var l=o?a:"highWaterMark";throw new e(l,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return IQ={getHighWaterMark:n},IQ}var jQ,RNe;function x2n(){if(RNe)return jQ;RNe=1,jQ=e;function e(n,r){if(t("noDeprecation"))return n;var i=!1;function a(){if(!i){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return a}function t(n){try{if(!yu.localStorage)return!1}catch{return!1}var r=yu.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return jQ}var PQ,$Ne;function yet(){if($Ne)return PQ;$Ne=1,PQ=D;function e(re){var ne=this;this.next=null,this.entry=null,this.finish=function(){te(ne,re)}}var t;D.WritableState=N;var n={deprecate:x2n()},r=pet(),i=wT().Buffer,a=(typeof yu<"u"?yu:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(re){return i.from(re)}function s(re){return i.isBuffer(re)||re instanceof a}var l=get(),c=vet(),u=c.getHighWaterMark,f=_C().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,p=f.ERR_MULTIPLE_CALLBACK,A=f.ERR_STREAM_CANNOT_PIPE,v=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,x=f.ERR_STREAM_WRITE_AFTER_END,k=f.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;u1()(D,r);function C(){}function N(re,ne,de){t=t||wS(),re=re||{},typeof de!="boolean"&&(de=ne instanceof t),this.objectMode=!!re.objectMode,de&&(this.objectMode=this.objectMode||!!re.writableObjectMode),this.highWaterMark=u(this,re,"writableHighWaterMark",de),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var he=re.decodeStrings===!1;this.decodeStrings=!he,this.defaultEncoding=re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(pe){j(ne,pe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=re.emitClose!==!1,this.autoDestroy=!!re.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}N.prototype.getBuffer=function(){for(var ne=this.bufferedRequest,de=[];ne;)de.push(ne),ne=ne.next;return de},(function(){try{Object.defineProperty(N.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var E;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(ne){return E.call(this,ne)?!0:this!==D?!1:ne&&ne._writableState instanceof N}})):E=function(ne){return ne instanceof this};function D(re){t=t||wS();var ne=this instanceof t;if(!ne&&!E.call(D,this))return new D(re);this._writableState=new N(re,this,ne),this.writable=!0,re&&(typeof re.write=="function"&&(this._write=re.write),typeof re.writev=="function"&&(this._writev=re.writev),typeof re.destroy=="function"&&(this._destroy=re.destroy),typeof re.final=="function"&&(this._final=re.final)),r.call(this)}D.prototype.pipe=function(){S(this,new A)};function T(re,ne){var de=new x;S(re,de),Xn.nextTick(ne,de)}function P(re,ne,de,he){var pe;return de===null?pe=new y:typeof de!="string"&&!ne.objectMode&&(pe=new h("chunk",["string","Buffer"],de)),pe?(S(re,pe),Xn.nextTick(he,pe),!1):!0}D.prototype.write=function(re,ne,de){var he=this._writableState,pe=!1,oe=!he.objectMode&&s(re);return oe&&!i.isBuffer(re)&&(re=o(re)),typeof ne=="function"&&(de=ne,ne=null),oe?ne="buffer":ne||(ne=he.defaultEncoding),typeof de!="function"&&(de=C),he.ending?T(this,de):(oe||P(this,he,re,de))&&(he.pendingcb++,pe=B(this,he,oe,re,ne,de)),pe},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var re=this._writableState;re.corked&&(re.corked--,!re.writing&&!re.corked&&!re.bufferProcessing&&re.bufferedRequest&&X(this,re))},D.prototype.setDefaultEncoding=function(ne){if(typeof ne=="string"&&(ne=ne.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ne+"").toLowerCase())>-1))throw new k(ne);return this._writableState.defaultEncoding=ne,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(re,ne,de){return!re.objectMode&&re.decodeStrings!==!1&&typeof ne=="string"&&(ne=i.from(ne,de)),ne}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(re,ne,de,he,pe,oe){if(!de){var J=O(ne,he,pe);he!==J&&(de=!0,pe="buffer",he=J)}var Se=ne.objectMode?1:he.length;ne.length+=Se;var be=ne.length<ne.highWaterMark;if(be||(ne.needDrain=!0),ne.writing||ne.corked){var we=ne.lastBufferedRequest;ne.lastBufferedRequest={chunk:he,encoding:pe,isBuf:de,callback:oe,next:null},we?we.next=ne.lastBufferedRequest:ne.bufferedRequest=ne.lastBufferedRequest,ne.bufferedRequestCount+=1}else M(re,ne,!1,Se,he,pe,oe);return be}function M(re,ne,de,he,pe,oe,J){ne.writelen=he,ne.writecb=J,ne.writing=!0,ne.sync=!0,ne.destroyed?ne.onwrite(new v("write")):de?re._writev(pe,ne.onwrite):re._write(pe,oe,ne.onwrite),ne.sync=!1}function $(re,ne,de,he,pe){--ne.pendingcb,de?(Xn.nextTick(pe,he),Xn.nextTick(G,re,ne),re._writableState.errorEmitted=!0,S(re,he)):(pe(he),re._writableState.errorEmitted=!0,S(re,he),G(re,ne))}function U(re){re.writing=!1,re.writecb=null,re.length-=re.writelen,re.writelen=0}function j(re,ne){var de=re._writableState,he=de.sync,pe=de.writecb;if(typeof pe!="function")throw new p;if(U(de),ne)$(re,de,he,ne,pe);else{var oe=Z(de)||re.destroyed;!oe&&!de.corked&&!de.bufferProcessing&&de.bufferedRequest&&X(re,de),he?Xn.nextTick(V,re,de,oe,pe):V(re,de,oe,pe)}}function V(re,ne,de,he){de||Q(re,ne),ne.pendingcb--,he(),G(re,ne)}function Q(re,ne){ne.length===0&&ne.needDrain&&(ne.needDrain=!1,re.emit("drain"))}function X(re,ne){ne.bufferProcessing=!0;var de=ne.bufferedRequest;if(re._writev&&de&&de.next){var he=ne.bufferedRequestCount,pe=new Array(he),oe=ne.corkedRequestsFree;oe.entry=de;for(var J=0,Se=!0;de;)pe[J]=de,de.isBuf||(Se=!1),de=de.next,J+=1;pe.allBuffers=Se,M(re,ne,!0,ne.length,pe,"",oe.finish),ne.pendingcb++,ne.lastBufferedRequest=null,oe.next?(ne.corkedRequestsFree=oe.next,oe.next=null):ne.corkedRequestsFree=new e(ne),ne.bufferedRequestCount=0}else{for(;de;){var be=de.chunk,we=de.encoding,me=de.callback,K=ne.objectMode?1:be.length;if(M(re,ne,!1,K,be,we,me),de=de.next,ne.bufferedRequestCount--,ne.writing)break}de===null&&(ne.lastBufferedRequest=null)}ne.bufferedRequest=de,ne.bufferProcessing=!1}D.prototype._write=function(re,ne,de){de(new m("_write()"))},D.prototype._writev=null,D.prototype.end=function(re,ne,de){var he=this._writableState;return typeof re=="function"?(de=re,re=null,ne=null):typeof ne=="function"&&(de=ne,ne=null),re!=null&&this.write(re,ne),he.corked&&(he.corked=1,this.uncork()),he.ending||W(this,he,de),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Z(re){return re.ending&&re.length===0&&re.bufferedRequest===null&&!re.finished&&!re.writing}function le(re,ne){re._final(function(de){ne.pendingcb--,de&&S(re,de),ne.prefinished=!0,re.emit("prefinish"),G(re,ne)})}function H(re,ne){!ne.prefinished&&!ne.finalCalled&&(typeof re._final=="function"&&!ne.destroyed?(ne.pendingcb++,ne.finalCalled=!0,Xn.nextTick(le,re,ne)):(ne.prefinished=!0,re.emit("prefinish")))}function G(re,ne){var de=Z(ne);if(de&&(H(re,ne),ne.pendingcb===0&&(ne.finished=!0,re.emit("finish"),ne.autoDestroy))){var he=re._readableState;(!he||he.autoDestroy&&he.endEmitted)&&re.destroy()}return de}function W(re,ne,de){ne.ending=!0,G(re,ne),de&&(ne.finished?Xn.nextTick(de):re.once("finish",de)),ne.ended=!0,re.writable=!1}function te(re,ne,de){var he=re.entry;for(re.entry=null;he;){var pe=he.callback;ne.pendingcb--,pe(de),he=he.next}ne.corkedRequestsFree.next=re}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ne){this._writableState&&(this._writableState.destroyed=ne)}}),D.prototype.destroy=l.destroy,D.prototype._undestroy=l.undestroy,D.prototype._destroy=function(re,ne){ne(re)},PQ}var MQ,LNe;function wS(){if(LNe)return MQ;LNe=1;var e=Object.keys||function(c){var u=[];for(var f in c)u.push(f);return u};MQ=o;var t=bet(),n=yet();u1()(o,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var a=r[i];o.prototype[a]||(o.prototype[a]=n.prototype[a])}function o(c){if(!(this instanceof o))return new o(c);t.call(this,c),n.call(this,c),this.allowHalfOpen=!0,c&&(c.readable===!1&&(this.readable=!1),c.writable===!1&&(this.writable=!1),c.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||Xn.nextTick(l,this)}function l(c){c.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),MQ}var RQ,UNe;function Xse(){if(UNe)return RQ;UNe=1;var e=_C().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var o=!1;return function(){if(!o){o=!0;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.apply(this,l)}}}function n(){}function r(a){return a.setHeader&&typeof a.abort=="function"}function i(a,o,s){if(typeof o=="function")return i(a,null,o);o||(o={}),s=t(s||n);var l=o.readable||o.readable!==!1&&a.readable,c=o.writable||o.writable!==!1&&a.writable,u=function(){a.writable||h()},f=a._writableState&&a._writableState.finished,h=function(){c=!1,f=!0,l||s.call(a)},m=a._readableState&&a._readableState.endEmitted,p=function(){l=!1,m=!0,c||s.call(a)},A=function(k){s.call(a,k)},v=function(){var k;if(l&&!m)return(!a._readableState||!a._readableState.ended)&&(k=new e),s.call(a,k);if(c&&!f)return(!a._writableState||!a._writableState.ended)&&(k=new e),s.call(a,k)},y=function(){a.req.on("finish",h)};return r(a)?(a.on("complete",h),a.on("abort",v),a.req?y():a.on("request",y)):c&&!a._writableState&&(a.on("end",u),a.on("close",u)),a.on("end",p),a.on("finish",h),o.error!==!1&&a.on("error",A),a.on("close",v),function(){a.removeListener("complete",h),a.removeListener("abort",v),a.removeListener("request",y),a.req&&a.req.removeListener("finish",h),a.removeListener("end",u),a.removeListener("close",u),a.removeListener("finish",h),a.removeListener("end",p),a.removeListener("error",A),a.removeListener("close",v)}}return RQ=i,RQ}var $Q,zNe;function w2n(){if(zNe)return $Q;zNe=1;var e;function t(k,S,C){return S=n(S),S in k?Object.defineProperty(k,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):k[S]=C,k}function n(k){var S=r(k,"string");return typeof S=="symbol"?S:String(S)}function r(k,S){if(typeof k!="object"||k===null)return k;var C=k[Symbol.toPrimitive];if(C!==void 0){var N=C.call(k,S);if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(k)}var i=Xse(),a=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),u=Symbol("handlePromise"),f=Symbol("stream");function h(k,S){return{value:k,done:S}}function m(k){var S=k[a];if(S!==null){var C=k[f].read();C!==null&&(k[c]=null,k[a]=null,k[o]=null,S(h(C,!1)))}}function p(k){Xn.nextTick(m,k)}function A(k,S){return function(C,N){k.then(function(){if(S[l]){C(h(void 0,!0));return}S[u](C,N)},N)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var S=this,C=this[s];if(C!==null)return Promise.reject(C);if(this[l])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise(function(T,P){Xn.nextTick(function(){S[s]?P(S[s]):T(h(void 0,!0))})});var N=this[c],E;if(N)E=new Promise(A(N,this));else{var D=this[f].read();if(D!==null)return Promise.resolve(h(D,!1));E=new Promise(this[u])}return this[c]=E,E}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var S=this;return new Promise(function(C,N){S[f].destroy(null,function(E){if(E){N(E);return}C(h(void 0,!0))})})}),e),v),x=function(S){var C,N=Object.create(y,(C={},t(C,f,{value:S,writable:!0}),t(C,a,{value:null,writable:!0}),t(C,o,{value:null,writable:!0}),t(C,s,{value:null,writable:!0}),t(C,l,{value:S._readableState.endEmitted,writable:!0}),t(C,u,{value:function(D,T){var P=N[f].read();P?(N[c]=null,N[a]=null,N[o]=null,D(h(P,!1))):(N[a]=D,N[o]=T)},writable:!0}),C));return N[c]=null,i(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=N[o];D!==null&&(N[c]=null,N[a]=null,N[o]=null,D(E)),N[s]=E;return}var T=N[a];T!==null&&(N[c]=null,N[a]=null,N[o]=null,T(h(void 0,!0))),N[l]=!0}),S.on("readable",p.bind(null,N)),N};return $Q=x,$Q}var LQ,HNe;function k2n(){return HNe||(HNe=1,LQ=function(){throw new Error("Readable.from is not available in the browser")}),LQ}var UQ,VNe;function bet(){if(VNe)return UQ;VNe=1,UQ=T;var e;T.ReadableState=D,Yse().EventEmitter;var t=function(J,Se){return J.listeners(Se).length},n=pet(),r=wT().Buffer,i=(typeof yu<"u"?yu:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(oe){return r.from(oe)}function o(oe){return r.isBuffer(oe)||oe instanceof i}var s=Aet(),l;s&&s.debuglog?l=s.debuglog("stream"):l=function(){};var c=b2n(),u=get(),f=vet(),h=f.getHighWaterMark,m=_C().codes,p=m.ERR_INVALID_ARG_TYPE,A=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,k,S;u1()(T,n);var C=u.errorOrDestroy,N=["error","close","destroy","pause","resume"];function E(oe,J,Se){if(typeof oe.prependListener=="function")return oe.prependListener(J,Se);!oe._events||!oe._events[J]?oe.on(J,Se):Array.isArray(oe._events[J])?oe._events[J].unshift(Se):oe._events[J]=[Se,oe._events[J]]}function D(oe,J,Se){e=e||wS(),oe=oe||{},typeof Se!="boolean"&&(Se=J instanceof e),this.objectMode=!!oe.objectMode,Se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=h(this,oe,"readableHighWaterMark",Se),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=oe.emitClose!==!1,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(x||(x=vJ().StringDecoder),this.decoder=new x(oe.encoding),this.encoding=oe.encoding)}function T(oe){if(e=e||wS(),!(this instanceof T))return new T(oe);var J=this instanceof e;this._readableState=new D(oe,this,J),this.readable=!0,oe&&(typeof oe.read=="function"&&(this._read=oe.read),typeof oe.destroy=="function"&&(this._destroy=oe.destroy)),n.call(this)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(J){this._readableState&&(this._readableState.destroyed=J)}}),T.prototype.destroy=u.destroy,T.prototype._undestroy=u.undestroy,T.prototype._destroy=function(oe,J){J(oe)},T.prototype.push=function(oe,J){var Se=this._readableState,be;return Se.objectMode?be=!0:typeof oe=="string"&&(J=J||Se.defaultEncoding,J!==Se.encoding&&(oe=r.from(oe,J),J=""),be=!0),P(this,oe,J,!1,be)},T.prototype.unshift=function(oe){return P(this,oe,null,!0,!1)};function P(oe,J,Se,be,we){l("readableAddChunk",J);var me=oe._readableState;if(J===null)me.reading=!1,j(oe,me);else{var K;if(we||(K=B(me,J)),K)C(oe,K);else if(me.objectMode||J&&J.length>0)if(typeof J!="string"&&!me.objectMode&&Object.getPrototypeOf(J)!==r.prototype&&(J=a(J)),be)me.endEmitted?C(oe,new y):O(oe,me,J,!0);else if(me.ended)C(oe,new A);else{if(me.destroyed)return!1;me.reading=!1,me.decoder&&!Se?(J=me.decoder.write(J),me.objectMode||J.length!==0?O(oe,me,J,!1):X(oe,me)):O(oe,me,J,!1)}else be||(me.reading=!1,X(oe,me))}return!me.ended&&(me.length<me.highWaterMark||me.length===0)}function O(oe,J,Se,be){J.flowing&&J.length===0&&!J.sync?(J.awaitDrain=0,oe.emit("data",Se)):(J.length+=J.objectMode?1:Se.length,be?J.buffer.unshift(Se):J.buffer.push(Se),J.needReadable&&V(oe)),X(oe,J)}function B(oe,J){var Se;return!o(J)&&typeof J!="string"&&J!==void 0&&!oe.objectMode&&(Se=new p("chunk",["string","Buffer","Uint8Array"],J)),Se}T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(oe){x||(x=vJ().StringDecoder);var J=new x(oe);this._readableState.decoder=J,this._readableState.encoding=this._readableState.decoder.encoding;for(var Se=this._readableState.buffer.head,be="";Se!==null;)be+=J.write(Se.data),Se=Se.next;return this._readableState.buffer.clear(),be!==""&&this._readableState.buffer.push(be),this._readableState.length=be.length,this};var M=1073741824;function $(oe){return oe>=M?oe=M:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}function U(oe,J){return oe<=0||J.length===0&&J.ended?0:J.objectMode?1:oe!==oe?J.flowing&&J.length?J.buffer.head.data.length:J.length:(oe>J.highWaterMark&&(J.highWaterMark=$(oe)),oe<=J.length?oe:J.ended?J.length:(J.needReadable=!0,0))}T.prototype.read=function(oe){l("read",oe),oe=parseInt(oe,10);var J=this._readableState,Se=oe;if(oe!==0&&(J.emittedReadable=!1),oe===0&&J.needReadable&&((J.highWaterMark!==0?J.length>=J.highWaterMark:J.length>0)||J.ended))return l("read: emitReadable",J.length,J.ended),J.length===0&&J.ended?de(this):V(this),null;if(oe=U(oe,J),oe===0&&J.ended)return J.length===0&&de(this),null;var be=J.needReadable;l("need readable",be),(J.length===0||J.length-oe<J.highWaterMark)&&(be=!0,l("length less than watermark",be)),J.ended||J.reading?(be=!1,l("reading or ended",be)):be&&(l("do read"),J.reading=!0,J.sync=!0,J.length===0&&(J.needReadable=!0),this._read(J.highWaterMark),J.sync=!1,J.reading||(oe=U(Se,J)));var we;return oe>0?we=ne(oe,J):we=null,we===null?(J.needReadable=J.length<=J.highWaterMark,oe=0):(J.length-=oe,J.awaitDrain=0),J.length===0&&(J.ended||(J.needReadable=!0),Se!==oe&&J.ended&&de(this)),we!==null&&this.emit("data",we),we};function j(oe,J){if(l("onEofChunk"),!J.ended){if(J.decoder){var Se=J.decoder.end();Se&&Se.length&&(J.buffer.push(Se),J.length+=J.objectMode?1:Se.length)}J.ended=!0,J.sync?V(oe):(J.needReadable=!1,J.emittedReadable||(J.emittedReadable=!0,Q(oe)))}}function V(oe){var J=oe._readableState;l("emitReadable",J.needReadable,J.emittedReadable),J.needReadable=!1,J.emittedReadable||(l("emitReadable",J.flowing),J.emittedReadable=!0,Xn.nextTick(Q,oe))}function Q(oe){var J=oe._readableState;l("emitReadable_",J.destroyed,J.length,J.ended),!J.destroyed&&(J.length||J.ended)&&(oe.emit("readable"),J.emittedReadable=!1),J.needReadable=!J.flowing&&!J.ended&&J.length<=J.highWaterMark,re(oe)}function X(oe,J){J.readingMore||(J.readingMore=!0,Xn.nextTick(Z,oe,J))}function Z(oe,J){for(;!J.reading&&!J.ended&&(J.length<J.highWaterMark||J.flowing&&J.length===0);){var Se=J.length;if(l("maybeReadMore read 0"),oe.read(0),Se===J.length)break}J.readingMore=!1}T.prototype._read=function(oe){C(this,new v("_read()"))},T.prototype.pipe=function(oe,J){var Se=this,be=this._readableState;switch(be.pipesCount){case 0:be.pipes=oe;break;case 1:be.pipes=[be.pipes,oe];break;default:be.pipes.push(oe);break}be.pipesCount+=1,l("pipe count=%d opts=%j",be.pipesCount,J);var we=(!J||J.end!==!1)&&oe!==Xn.stdout&&oe!==Xn.stderr,me=we?ie:We;be.endEmitted?Xn.nextTick(me):Se.once("end",me),oe.on("unpipe",K);function K(tt,ot){l("onunpipe"),tt===Se&&ot&&ot.hasUnpiped===!1&&(ot.hasUnpiped=!0,ve())}function ie(){l("onend"),oe.end()}var ce=le(Se);oe.on("drain",ce);var ue=!1;function ve(){l("cleanup"),oe.removeListener("close",Me),oe.removeListener("finish",$e),oe.removeListener("drain",ce),oe.removeListener("error",Re),oe.removeListener("unpipe",K),Se.removeListener("end",ie),Se.removeListener("end",We),Se.removeListener("data",ke),ue=!0,be.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&ce()}Se.on("data",ke);function ke(tt){l("ondata");var ot=oe.write(tt);l("dest.write",ot),ot===!1&&((be.pipesCount===1&&be.pipes===oe||be.pipesCount>1&&pe(be.pipes,oe)!==-1)&&!ue&&(l("false write response, pause",be.awaitDrain),be.awaitDrain++),Se.pause())}function Re(tt){l("onerror",tt),We(),oe.removeListener("error",Re),t(oe,"error")===0&&C(oe,tt)}E(oe,"error",Re);function Me(){oe.removeListener("finish",$e),We()}oe.once("close",Me);function $e(){l("onfinish"),oe.removeListener("close",Me),We()}oe.once("finish",$e);function We(){l("unpipe"),Se.unpipe(oe)}return oe.emit("pipe",Se),be.flowing||(l("pipe resume"),Se.resume()),oe};function le(oe){return function(){var Se=oe._readableState;l("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&t(oe,"data")&&(Se.flowing=!0,re(oe))}}T.prototype.unpipe=function(oe){var J=this._readableState,Se={hasUnpiped:!1};if(J.pipesCount===0)return this;if(J.pipesCount===1)return oe&&oe!==J.pipes?this:(oe||(oe=J.pipes),J.pipes=null,J.pipesCount=0,J.flowing=!1,oe&&oe.emit("unpipe",this,Se),this);if(!oe){var be=J.pipes,we=J.pipesCount;J.pipes=null,J.pipesCount=0,J.flowing=!1;for(var me=0;me<we;me++)be[me].emit("unpipe",this,{hasUnpiped:!1});return this}var K=pe(J.pipes,oe);return K===-1?this:(J.pipes.splice(K,1),J.pipesCount-=1,J.pipesCount===1&&(J.pipes=J.pipes[0]),oe.emit("unpipe",this,Se),this)},T.prototype.on=function(oe,J){var Se=n.prototype.on.call(this,oe,J),be=this._readableState;return oe==="data"?(be.readableListening=this.listenerCount("readable")>0,be.flowing!==!1&&this.resume()):oe==="readable"&&!be.endEmitted&&!be.readableListening&&(be.readableListening=be.needReadable=!0,be.flowing=!1,be.emittedReadable=!1,l("on readable",be.length,be.reading),be.length?V(this):be.reading||Xn.nextTick(G,this)),Se},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(oe,J){var Se=n.prototype.removeListener.call(this,oe,J);return oe==="readable"&&Xn.nextTick(H,this),Se},T.prototype.removeAllListeners=function(oe){var J=n.prototype.removeAllListeners.apply(this,arguments);return(oe==="readable"||oe===void 0)&&Xn.nextTick(H,this),J};function H(oe){var J=oe._readableState;J.readableListening=oe.listenerCount("readable")>0,J.resumeScheduled&&!J.paused?J.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function G(oe){l("readable nexttick read 0"),oe.read(0)}T.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(l("resume"),oe.flowing=!oe.readableListening,W(this,oe)),oe.paused=!1,this};function W(oe,J){J.resumeScheduled||(J.resumeScheduled=!0,Xn.nextTick(te,oe,J))}function te(oe,J){l("resume",J.reading),J.reading||oe.read(0),J.resumeScheduled=!1,oe.emit("resume"),re(oe),J.flowing&&!J.reading&&oe.read(0)}T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function re(oe){var J=oe._readableState;for(l("flow",J.flowing);J.flowing&&oe.read()!==null;);}T.prototype.wrap=function(oe){var J=this,Se=this._readableState,be=!1;oe.on("end",function(){if(l("wrapped end"),Se.decoder&&!Se.ended){var K=Se.decoder.end();K&&K.length&&J.push(K)}J.push(null)}),oe.on("data",function(K){if(l("wrapped data"),Se.decoder&&(K=Se.decoder.write(K)),!(Se.objectMode&&K==null)&&!(!Se.objectMode&&(!K||!K.length))){var ie=J.push(K);ie||(be=!0,oe.pause())}});for(var we in oe)this[we]===void 0&&typeof oe[we]=="function"&&(this[we]=(function(ie){return function(){return oe[ie].apply(oe,arguments)}})(we));for(var me=0;me<N.length;me++)oe.on(N[me],this.emit.bind(this,N[me]));return this._read=function(K){l("wrapped _read",K),be&&(be=!1,oe.resume())},this},typeof Symbol=="function"&&(T.prototype[Symbol.asyncIterator]=function(){return k===void 0&&(k=w2n()),k(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(J){this._readableState&&(this._readableState.flowing=J)}}),T._fromList=ne,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ne(oe,J){if(J.length===0)return null;var Se;return J.objectMode?Se=J.buffer.shift():!oe||oe>=J.length?(J.decoder?Se=J.buffer.join(""):J.buffer.length===1?Se=J.buffer.first():Se=J.buffer.concat(J.length),J.buffer.clear()):Se=J.buffer.consume(oe,J.decoder),Se}function de(oe){var J=oe._readableState;l("endReadable",J.endEmitted),J.endEmitted||(J.ended=!0,Xn.nextTick(he,J,oe))}function he(oe,J){if(l("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&oe.length===0&&(oe.endEmitted=!0,J.readable=!1,J.emit("end"),oe.autoDestroy)){var Se=J._writableState;(!Se||Se.autoDestroy&&Se.finished)&&J.destroy()}}typeof Symbol=="function"&&(T.from=function(oe,J){return S===void 0&&(S=k2n()),S(T,oe,J)});function pe(oe,J){for(var Se=0,be=oe.length;Se<be;Se++)if(oe[Se]===J)return Se;return-1}return UQ}var zQ,QNe;function xet(){if(QNe)return zQ;QNe=1,zQ=s;var e=_C().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=wS();u1()(s,a);function o(u,f){var h=this._transformState;h.transforming=!1;var m=h.writecb;if(m===null)return this.emit("error",new n);h.writechunk=null,h.writecb=null,f!=null&&this.push(f),m(u);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function s(u){if(!(this instanceof s))return new s(u);a.call(this,u),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",l)}function l(){var u=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,h){c(u,f,h)}):c(this,null,null)}s.prototype.push=function(u,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,u,f)},s.prototype._transform=function(u,f,h){h(new t("_transform()"))},s.prototype._write=function(u,f,h){var m=this._transformState;if(m.writecb=h,m.writechunk=u,m.writeencoding=f,!m.transforming){var p=this._readableState;(m.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},s.prototype._read=function(u){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},s.prototype._destroy=function(u,f){a.prototype._destroy.call(this,u,function(h){f(h)})};function c(u,f,h){if(f)return u.emit("error",f);if(h!=null&&u.push(h),u._writableState.length)throw new i;if(u._transformState.transforming)throw new r;return u.push(null)}return zQ}var HQ,qNe;function S2n(){if(qNe)return HQ;qNe=1,HQ=t;var e=xet();u1()(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,r,i){i(null,n)},HQ}var VQ,GNe;function C2n(){if(GNe)return VQ;GNe=1;var e;function t(h){var m=!1;return function(){m||(m=!0,h.apply(void 0,arguments))}}var n=_C().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function a(h){if(h)throw h}function o(h){return h.setHeader&&typeof h.abort=="function"}function s(h,m,p,A){A=t(A);var v=!1;h.on("close",function(){v=!0}),e===void 0&&(e=Xse()),e(h,{readable:m,writable:p},function(x){if(x)return A(x);v=!0,A()});var y=!1;return function(x){if(!v&&!y){if(y=!0,o(h))return h.abort();if(typeof h.destroy=="function")return h.destroy();A(x||new i("pipe"))}}}function l(h){h()}function c(h,m){return h.pipe(m)}function u(h){return!h.length||typeof h[h.length-1]!="function"?a:h.pop()}function f(){for(var h=arguments.length,m=new Array(h),p=0;p<h;p++)m[p]=arguments[p];var A=u(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new r("streams");var v,y=m.map(function(x,k){var S=k<m.length-1,C=k>0;return s(x,S,C,function(N){v||(v=N),N&&y.forEach(l),!S&&(y.forEach(l),A(v))})});return m.reduce(c)}return VQ=f,VQ}var QQ,WNe;function _2n(){if(WNe)return QQ;WNe=1,QQ=n;var e=Yse().EventEmitter,t=u1();t(n,e),n.Readable=bet(),n.Writable=yet(),n.Duplex=wS(),n.Transform=xet(),n.PassThrough=S2n(),n.finished=Xse(),n.pipeline=C2n(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(r,i){var a=this;function o(m){r.writable&&r.write(m)===!1&&a.pause&&a.pause()}a.on("data",o);function s(){a.readable&&a.resume&&a.resume()}r.on("drain",s),!r._isStdio&&(!i||i.end!==!1)&&(a.on("end",c),a.on("close",u));var l=!1;function c(){l||(l=!0,r.end())}function u(){l||(l=!0,typeof r.destroy=="function"&&r.destroy())}function f(m){if(h(),e.listenerCount(this,"error")===0)throw m}a.on("error",f),r.on("error",f);function h(){a.removeListener("data",o),r.removeListener("drain",s),a.removeListener("end",c),a.removeListener("close",u),a.removeListener("error",f),r.removeListener("error",f),a.removeListener("end",h),a.removeListener("close",h),r.removeListener("close",h)}return a.on("end",h),a.on("close",h),r.on("close",h),r.emit("pipe",a),r},QQ}var KNe;function N2n(){return KNe||(KNe=1,(function(e){var t=r0().Buffer,n=YNn(),r=met(),i=e.exports;i.encodings=null,i.defaultCharUnicode="�",i.defaultCharSingleByte="?",i.encode=function(s,l,c){s=""+(s||"");var u=i.getEncoder(l,c),f=u.write(s),h=u.end();return h&&h.length>0?t.concat([f,h]):f},i.decode=function(s,l,c){typeof s=="string"&&(i.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),i.skipDecodeWarning=!0),s=t.from(""+(s||""),"binary"));var u=i.getDecoder(l,c),f=u.write(s),h=u.end();return h?f+h:f},i.encodingExists=function(s){try{return i.getCodec(s),!0}catch{return!1}},i.toEncoding=i.encode,i.fromEncoding=i.decode,i._codecDataCache={__proto__:null},i.getCodec=function(s){if(!i.encodings){var l=m2n();i.encodings={__proto__:null},r(i.encodings,l)}for(var c=i._canonicalizeEncoding(s),u={};;){var f=i._codecDataCache[c];if(f)return f;var h=i.encodings[c];switch(typeof h){case"string":c=h;break;case"object":for(var m in h)u[m]=h[m];u.encodingName||(u.encodingName=c),c=h.type;break;case"function":return u.encodingName||(u.encodingName=c),f=new h(u,i),i._codecDataCache[u.encodingName]=f,f;default:throw new Error("Encoding not recognized: '"+s+"' (searched as: '"+c+"')")}}},i._canonicalizeEncoding=function(o){return(""+o).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},i.getEncoder=function(s,l){var c=i.getCodec(s),u=new c.encoder(l,c);return c.bomAware&&l&&l.addBOM&&(u=new n.PrependBOM(u,l)),u},i.getDecoder=function(s,l){var c=i.getCodec(s),u=new c.decoder(l,c);return c.bomAware&&!(l&&l.stripBOM===!1)&&(u=new n.StripBOM(u,l)),u},i.enableStreamingAPI=function(s){if(!i.supportsStreams){var l=p2n()(s);i.IconvLiteEncoderStream=l.IconvLiteEncoderStream,i.IconvLiteDecoderStream=l.IconvLiteDecoderStream,i.encodeStream=function(u,f){return new i.IconvLiteEncoderStream(i.getEncoder(u,f),f)},i.decodeStream=function(u,f){return new i.IconvLiteDecoderStream(i.getDecoder(u,f),f)},i.supportsStreams=!0}};var a;try{a=_2n()}catch{}a&&a.Transform?i.enableStreamingAPI(a):i.encodeStream=i.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}})(dQ)),dQ.exports}var E2n=N2n();const YNe=Ni(E2n);function wet({open:e,onOpenChange:t}){const n=wne(new Date),r=Rt(k3(n),"yyyy-MM-dd"),i=Rt(M3e(n),"yyyy-MM-dd"),[a,o]=w.useState(r),[s,l]=w.useState(i),[c,u]=w.useState(!1),[f,h]=w.useState(""),[m,p]=rn({pause:!0,query:QEt,variables:{fromDate:a,toDate:s}});w.useEffect(()=>{if(c&&!m.fetching){if(m.error){h("Failed to fetch uniform format data. Please try again."),console.error("GraphQL error:",m.error),u(!1);return}if(m.data?.uniformFormat){const{bkmvdata:y,ini:x}=m.data.uniformFormat;if(!y||!x){h("Incomplete data received from the server. Please try again."),u(!1);return}const k=new File([new Uint8Array(YNe.encode(y,"ISO-8859-8"))],"bkmvdata.txt",{type:"text/plain"}),S=new File([new Uint8Array(YNe.encode(x,"ISO-8859-8"))],"ini.txt",{type:"text/plain"});QY(S),setTimeout(()=>QY(k),100),t(!1),o(r),l(i),u(!1)}else m.stale&&!m.data?.uniformFormat&&(h("No data returned from the server. Please try again."),u(!1))}},[m,c,a,s,r,i,t]);const A=async y=>{if(y.preventDefault(),h(""),!a||!s){h("Please select both from and to dates");return}const x=new Date(a),k=new Date(s);if(x>=k){h("From date must be before to date");return}if(k>new Date){h("To date cannot be in the future");return}u(!0);try{p({requestPolicy:"network-only"})}catch(S){h("Failed to generate files. Please try again."),console.error("Error generating files:",S),u(!1)}},v=y=>{c||(t(y),y||(o(r),l(i),h("")))};return d.jsx(Ra,{open:e,onOpenChange:v,children:d.jsxs($a,{className:"sm:max-w-md",children:[d.jsxs(us,{children:[d.jsxs(ds,{className:"flex items-center gap-2",children:[d.jsx(Yk,{className:"h-5 w-5"}),"Generate Uniform Files"]}),d.jsx(CHe,{children:"Select the date range to generate and download uniform files."})]}),d.jsxs("form",{onSubmit:A,className:"space-y-4",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx($n,{htmlFor:"from-date",children:"From Date"}),d.jsx(kn,{id:"from-date",type:"date",value:a,onChange:y=>o(y.target.value),disabled:c,required:!0})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx($n,{htmlFor:"to-date",children:"To Date"}),d.jsx(kn,{id:"to-date",type:"date",value:s,onChange:y=>l(y.target.value),disabled:c,required:!0})]})]}),f&&d.jsx("div",{className:"text-sm text-red-600 bg-red-50 p-3 rounded-md",children:f}),d.jsxs(Uy,{className:"gap-2",children:[d.jsx(Ge,{type:"button",variant:"outline",onClick:()=>v(!1),disabled:c,children:"Cancel"}),d.jsx(Ge,{type:"submit",disabled:c,className:"gap-2",children:c?d.jsxs(d.Fragment,{children:[d.jsx(ai,{className:"h-4 w-4 animate-spin"}),"Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Sne,{className:"h-4 w-4"}),"Generate & Download"]})})]})]})]})})}function F2n({...e}){return d.jsx(aL,{"data-slot":"sheet",...e})}function D2n({...e}){return d.jsx(Hie,{"data-slot":"sheet-trigger",...e})}function T2n({...e}){return d.jsx(oL,{"data-slot":"sheet-portal",...e})}function O2n({className:e,...t}){return d.jsx(sL,{"data-slot":"sheet-overlay",className:_t("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1001 bg-black/50",e),...t})}function B2n({className:e,children:t,side:n="right",...r}){return d.jsxs(T2n,{children:[d.jsx(O2n,{}),d.jsxs(lL,{"data-slot":"sheet-content",className:_t("bg-white data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-1001 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-gray-950",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,d.jsxs(SHe,{className:"ring-offset-white focus:ring-gray-950 data-[state=open]:bg-gray-100 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none dark:ring-offset-gray-950 dark:focus:ring-gray-300 dark:data-[state=open]:bg-gray-800",children:[d.jsx(Vx,{className:"size-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}var o8="Collapsible",[I2n,ket]=pc(o8),[j2n,Zse]=I2n(o8),Cet=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[l,c]=Sd({prop:r,defaultProp:i??!1,onChange:o,caller:o8});return d.jsx(j2n,{scope:n,disabled:a,contentId:Ns(),open:l,onOpenToggle:w.useCallback(()=>c(u=>!u),[c]),children:d.jsx(xn.div,{"data-state":nle(l),"data-disabled":a?"":void 0,...s,ref:t})})});Cet.displayName=o8;var _et="CollapsibleTrigger",Jse=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Zse(_et,n);return d.jsx(xn.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":nle(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:sn(e.onClick,i.onOpenToggle)})});Jse.displayName=_et;var ele="CollapsibleContent",tle=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Zse(ele,e.__scopeCollapsible);return d.jsx(Ws,{present:n||i.open,children:({present:a})=>d.jsx(P2n,{...r,ref:t,present:a})})});tle.displayName=ele;var P2n=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Zse(ele,n),[s,l]=w.useState(r),c=w.useRef(null),u=Vr(t,c),f=w.useRef(0),h=f.current,m=w.useRef(0),p=m.current,A=o.open||s,v=w.useRef(A),y=w.useRef(void 0);return w.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),ss(()=>{const x=c.current;if(x){y.current=y.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const k=x.getBoundingClientRect();f.current=k.height,m.current=k.width,v.current||(x.style.transitionDuration=y.current.transitionDuration,x.style.animationName=y.current.animationName),l(r)}},[o.open,r]),d.jsx(xn.div,{"data-state":nle(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!A,...a,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":p?`${p}px`:void 0,...e.style},children:A&&i})});function nle(e){return e?"open":"closed"}var Net=Cet,M2n=Jse,R2n=tle;function $2n({...e}){return d.jsx(Net,{"data-slot":"collapsible",...e})}function L2n({...e}){return d.jsx(Jse,{"data-slot":"collapsible-trigger",...e})}function U2n({...e}){return d.jsx(tle,{"data-slot":"collapsible-content",...e})}var yJ=["Enter"," "],z2n=["ArrowDown","PageUp","Home"],Eet=["ArrowUp","PageDown","End"],H2n=[...z2n,...Eet],V2n={ltr:[...yJ,"ArrowRight"],rtl:[...yJ,"ArrowLeft"]},Q2n={ltr:["ArrowLeft"],rtl:["ArrowRight"]},kT="Menu",[aF,q2n,G2n]=$L(kT),[d1,Fet]=pc(kT,[G2n,Hy,h6]),s8=Hy(),Det=h6(),[W2n,f1]=d1(kT),[K2n,ST]=d1(kT),Tet=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=s8(t),[l,c]=w.useState(null),u=w.useRef(!1),f=ll(a),h=gC(i);return w.useEffect(()=>{const m=()=>{u.current=!0,document.addEventListener("pointerdown",p,{capture:!0,once:!0}),document.addEventListener("pointermove",p,{capture:!0,once:!0})},p=()=>u.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",p,{capture:!0}),document.removeEventListener("pointermove",p,{capture:!0})}},[]),d.jsx(mL,{...s,children:d.jsx(W2n,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:c,children:d.jsx(K2n,{scope:t,onClose:w.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:u,dir:h,modal:o,children:r})})})};Tet.displayName=kT;var Y2n="MenuAnchor",rle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=s8(n);return d.jsx(OD,{...i,...r,ref:t})});rle.displayName=Y2n;var ile="MenuPortal",[X2n,Oet]=d1(ile,{forceMount:void 0}),Bet=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=f1(ile,t);return d.jsx(X2n,{scope:t,forceMount:n,children:d.jsx(Ws,{present:n||a.open,children:d.jsx(hC,{asChild:!0,container:i,children:r})})})};Bet.displayName=ile;var If="MenuContent",[Z2n,ale]=d1(If),Iet=w.forwardRef((e,t)=>{const n=Oet(If,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=f1(If,e.__scopeMenu),o=ST(If,e.__scopeMenu);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(Ws,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:o.modal?d.jsx(J2n,{...i,ref:t}):d.jsx(eEn,{...i,ref:t})})})})}),J2n=w.forwardRef((e,t)=>{const n=f1(If,e.__scopeMenu),r=w.useRef(null),i=Vr(t,r);return w.useEffect(()=>{const a=r.current;if(a)return u3(a)},[]),d.jsx(ole,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:sn(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),eEn=w.forwardRef((e,t)=>{const n=f1(If,e.__scopeMenu);return d.jsx(ole,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),tEn=vy("MenuContent.ScrollLock"),ole=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,disableOutsideScroll:p,...A}=e,v=f1(If,n),y=ST(If,n),x=s8(n),k=Det(n),S=q2n(n),[C,N]=w.useState(null),E=w.useRef(null),D=Vr(t,E,v.onContentChange),T=w.useRef(0),P=w.useRef(""),O=w.useRef(0),B=w.useRef(null),M=w.useRef("right"),$=w.useRef(0),U=p?KS:w.Fragment,j=p?{as:tEn,allowPinchZoom:!0}:void 0,V=X=>{const Z=P.current+X,le=S().filter(ne=>!ne.disabled),H=document.activeElement,G=le.find(ne=>ne.ref.current===H)?.textValue,W=le.map(ne=>ne.textValue),te=hEn(W,Z,G),re=le.find(ne=>ne.textValue===te)?.ref.current;(function ne(de){P.current=de,window.clearTimeout(T.current),de!==""&&(T.current=window.setTimeout(()=>ne(""),1e3))})(Z),re&&setTimeout(()=>re.focus())};w.useEffect(()=>()=>window.clearTimeout(T.current),[]),rL();const Q=w.useCallback(X=>M.current===B.current?.side&&pEn(X,B.current?.area),[]);return d.jsx(Z2n,{scope:n,searchRef:P,onItemEnter:w.useCallback(X=>{Q(X)&&X.preventDefault()},[Q]),onItemLeave:w.useCallback(X=>{Q(X)||(E.current?.focus(),N(null))},[Q]),onTriggerLeave:w.useCallback(X=>{Q(X)&&X.preventDefault()},[Q]),pointerGraceTimerRef:O,onPointerGraceIntentChange:w.useCallback(X=>{B.current=X},[]),children:d.jsx(U,{...j,children:d.jsx(ND,{asChild:!0,trapped:i,onMountAutoFocus:sn(a,X=>{X.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:d.jsx(fC,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,children:d.jsx(tYe,{asChild:!0,...k,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:N,onEntryFocus:sn(l,X=>{y.isUsingKeyboardRef.current||X.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(pL,{role:"menu","aria-orientation":"vertical","data-state":Yet(v.open),"data-radix-menu-content":"",dir:y.dir,...x,...A,ref:D,style:{outline:"none",...A.style},onKeyDown:sn(A.onKeyDown,X=>{const le=X.target.closest("[data-radix-menu-content]")===X.currentTarget,H=X.ctrlKey||X.altKey||X.metaKey,G=X.key.length===1;le&&(X.key==="Tab"&&X.preventDefault(),!H&&G&&V(X.key));const W=E.current;if(X.target!==W||!H2n.includes(X.key))return;X.preventDefault();const re=S().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);Eet.includes(X.key)&&re.reverse(),dEn(re)}),onBlur:sn(e.onBlur,X=>{X.currentTarget.contains(X.target)||(window.clearTimeout(T.current),P.current="")}),onPointerMove:sn(e.onPointerMove,oF(X=>{const Z=X.target,le=$.current!==X.clientX;if(X.currentTarget.contains(Z)&&le){const H=X.clientX>$.current?"right":"left";M.current=H,$.current=X.clientX}}))})})})})})})});Iet.displayName=If;var nEn="MenuGroup",sle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{role:"group",...r,ref:t})});sle.displayName=nEn;var rEn="MenuLabel",jet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{...r,ref:t})});jet.displayName=rEn;var YR="MenuItem",XNe="menu.itemSelect",l8=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=w.useRef(null),o=ST(YR,e.__scopeMenu),s=ale(YR,e.__scopeMenu),l=Vr(t,a),c=w.useRef(!1),u=()=>{const f=a.current;if(!n&&f){const h=new CustomEvent(XNe,{bubbles:!0,cancelable:!0});f.addEventListener(XNe,m=>r?.(m),{once:!0}),kLe(f,h),h.defaultPrevented?c.current=!1:o.onClose()}};return d.jsx(Pet,{...i,ref:l,disabled:n,onClick:sn(e.onClick,u),onPointerDown:f=>{e.onPointerDown?.(f),c.current=!0},onPointerUp:sn(e.onPointerUp,f=>{c.current||f.currentTarget?.click()}),onKeyDown:sn(e.onKeyDown,f=>{const h=s.searchRef.current!=="";n||h&&f.key===" "||yJ.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});l8.displayName=YR;var Pet=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=ale(YR,n),s=Det(n),l=w.useRef(null),c=Vr(t,l),[u,f]=w.useState(!1),[h,m]=w.useState("");return w.useEffect(()=>{const p=l.current;p&&m((p.textContent??"").trim())},[a.children]),d.jsx(aF.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:d.jsx(nYe,{asChild:!0,...s,focusable:!r,children:d.jsx(xn.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:c,onPointerMove:sn(e.onPointerMove,oF(p=>{r?o.onItemLeave(p):(o.onItemEnter(p),p.defaultPrevented||p.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:sn(e.onPointerLeave,oF(p=>o.onItemLeave(p))),onFocus:sn(e.onFocus,()=>f(!0)),onBlur:sn(e.onBlur,()=>f(!1))})})})}),iEn="MenuCheckboxItem",Met=w.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return d.jsx(zet,{scope:e.__scopeMenu,checked:n,children:d.jsx(l8,{role:"menuitemcheckbox","aria-checked":XR(n)?"mixed":n,...i,ref:t,"data-state":cle(n),onSelect:sn(i.onSelect,()=>r?.(XR(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Met.displayName=iEn;var Ret="MenuRadioGroup",[aEn,oEn]=d1(Ret,{value:void 0,onValueChange:()=>{}}),$et=w.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=ll(r);return d.jsx(aEn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:d.jsx(sle,{...i,ref:t})})});$et.displayName=Ret;var Let="MenuRadioItem",Uet=w.forwardRef((e,t)=>{const{value:n,...r}=e,i=oEn(Let,e.__scopeMenu),a=n===i.value;return d.jsx(zet,{scope:e.__scopeMenu,checked:a,children:d.jsx(l8,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":cle(a),onSelect:sn(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Uet.displayName=Let;var lle="MenuItemIndicator",[zet,sEn]=d1(lle,{checked:!1}),Het=w.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=sEn(lle,n);return d.jsx(Ws,{present:r||XR(a.checked)||a.checked===!0,children:d.jsx(xn.span,{...i,ref:t,"data-state":cle(a.checked)})})});Het.displayName=lle;var lEn="MenuSeparator",Vet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Vet.displayName=lEn;var cEn="MenuArrow",Qet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=s8(n);return d.jsx(AL,{...i,...r,ref:t})});Qet.displayName=cEn;var uEn="MenuSub",[YWn,qet]=d1(uEn),o2="MenuSubTrigger",Get=w.forwardRef((e,t)=>{const n=f1(o2,e.__scopeMenu),r=ST(o2,e.__scopeMenu),i=qet(o2,e.__scopeMenu),a=ale(o2,e.__scopeMenu),o=w.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},u=w.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return w.useEffect(()=>u,[u]),w.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),d.jsx(rle,{asChild:!0,...c,children:d.jsx(Pet,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":Yet(n.open),...e,ref:cg(t,i.onTriggerChange),onClick:f=>{e.onClick?.(f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:sn(e.onPointerMove,oF(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:sn(e.onPointerLeave,oF(f=>{u();const h=n.content?.getBoundingClientRect();if(h){const m=n.content?.dataset.side,p=m==="right",A=p?-5:5,v=h[p?"left":"right"],y=h[p?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+A,y:f.clientY},{x:v,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:v,y:h.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:sn(e.onKeyDown,f=>{const h=a.searchRef.current!=="";e.disabled||h&&f.key===" "||V2n[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});Get.displayName=o2;var Wet="MenuSubContent",Ket=w.forwardRef((e,t)=>{const n=Oet(If,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=f1(If,e.__scopeMenu),o=ST(If,e.__scopeMenu),s=qet(Wet,e.__scopeMenu),l=w.useRef(null),c=Vr(t,l);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(Ws,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:d.jsx(ole,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:c,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{o.isUsingKeyboardRef.current&&l.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:sn(e.onFocusOutside,u=>{u.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:sn(e.onEscapeKeyDown,u=>{o.onClose(),u.preventDefault()}),onKeyDown:sn(e.onKeyDown,u=>{const f=u.currentTarget.contains(u.target),h=Q2n[o.dir].includes(u.key);f&&h&&(a.onOpenChange(!1),s.trigger?.focus(),u.preventDefault())})})})})})});Ket.displayName=Wet;function Yet(e){return e?"open":"closed"}function XR(e){return e==="indeterminate"}function cle(e){return XR(e)?"indeterminate":e?"checked":"unchecked"}function dEn(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function fEn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function hEn(e,t,n){const i=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=fEn(e,Math.max(a,0));i.length===1&&(o=o.filter(c=>c!==n));const l=o.find(c=>c.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function mEn(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const s=t[a],l=t[o],c=s.x,u=s.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(i=!i)}return i}function pEn(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return mEn(n,t)}function oF(e){return t=>t.pointerType==="mouse"?e(t):void 0}var AEn=Tet,gEn=rle,vEn=Bet,yEn=Iet,bEn=sle,xEn=jet,wEn=l8,kEn=Met,SEn=$et,CEn=Uet,_En=Het,NEn=Vet,EEn=Qet,FEn=Get,DEn=Ket,c8="DropdownMenu",[TEn,XWn]=pc(c8,[Fet]),Qc=Fet(),[OEn,Xet]=TEn(c8),Zet=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=Qc(t),c=w.useRef(null),[u,f]=Sd({prop:i,defaultProp:a??!1,onChange:o,caller:c8});return d.jsx(OEn,{scope:t,triggerId:Ns(),triggerRef:c,contentId:Ns(),open:u,onOpenChange:f,onOpenToggle:w.useCallback(()=>f(h=>!h),[f]),modal:s,children:d.jsx(AEn,{...l,open:u,onOpenChange:f,dir:r,modal:s,children:n})})};Zet.displayName=c8;var Jet="DropdownMenuTrigger",ett=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Xet(Jet,n),o=Qc(n);return d.jsx(gEn,{asChild:!0,...o,children:d.jsx(xn.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:cg(t,a.triggerRef),onPointerDown:sn(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:sn(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});ett.displayName=Jet;var BEn="DropdownMenuPortal",ttt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Qc(t);return d.jsx(vEn,{...r,...n})};ttt.displayName=BEn;var ntt="DropdownMenuContent",rtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Xet(ntt,n),a=Qc(n),o=w.useRef(!1);return d.jsx(yEn,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:sn(e.onCloseAutoFocus,s=>{o.current||i.triggerRef.current?.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:sn(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!i.modal||u)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rtt.displayName=ntt;var IEn="DropdownMenuGroup",itt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(bEn,{...i,...r,ref:t})});itt.displayName=IEn;var jEn="DropdownMenuLabel",att=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(xEn,{...i,...r,ref:t})});att.displayName=jEn;var PEn="DropdownMenuItem",ott=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(wEn,{...i,...r,ref:t})});ott.displayName=PEn;var MEn="DropdownMenuCheckboxItem",stt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(kEn,{...i,...r,ref:t})});stt.displayName=MEn;var REn="DropdownMenuRadioGroup",$En=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(SEn,{...i,...r,ref:t})});$En.displayName=REn;var LEn="DropdownMenuRadioItem",UEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(CEn,{...i,...r,ref:t})});UEn.displayName=LEn;var zEn="DropdownMenuItemIndicator",ltt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(_En,{...i,...r,ref:t})});ltt.displayName=zEn;var HEn="DropdownMenuSeparator",ctt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(NEn,{...i,...r,ref:t})});ctt.displayName=HEn;var VEn="DropdownMenuArrow",QEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(EEn,{...i,...r,ref:t})});QEn.displayName=VEn;var qEn="DropdownMenuSubTrigger",GEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(FEn,{...i,...r,ref:t})});GEn.displayName=qEn;var WEn="DropdownMenuSubContent",KEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(DEn,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});KEn.displayName=WEn;var YEn=Zet,XEn=ett,ZEn=ttt,JEn=rtt,eFn=itt,tFn=att,nFn=ott,rFn=stt,iFn=ltt,aFn=ctt;function CT({...e}){return d.jsx(YEn,{"data-slot":"dropdown-menu",...e})}function _T({...e}){return d.jsx(XEn,{"data-slot":"dropdown-menu-trigger",...e})}function NT({className:e,sideOffset:t=4,...n}){return d.jsx(ZEn,{children:d.jsx(JEn,{"data-slot":"dropdown-menu-content",sideOffset:t,className:_t("bg-white text-gray-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-1001 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-gray-200 p-1 shadow-md dark:bg-gray-950 dark:text-gray-50 dark:border-gray-800",e),...n})})}function oFn({...e}){return d.jsx(eFn,{"data-slot":"dropdown-menu-group",...e})}function JA({className:e,inset:t,variant:n="default",...r}){return d.jsx(nFn,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:_t("focus:bg-gray-100 focus:text-gray-900 data-[variant=destructive]:text-red-500 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/20 data-[variant=destructive]:focus:text-red-500 data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-gray-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50 dark:data-[variant=destructive]:text-red-900 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/20 dark:data-[variant=destructive]:focus:text-red-900 dark:[&_svg:not([class*='text-'])]:text-gray-400",e),...r})}function sFn({className:e,children:t,checked:n,...r}){return d.jsxs(rFn,{"data-slot":"dropdown-menu-checkbox-item",className:_t("focus:bg-gray-100 focus:text-gray-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50",e),checked:n,...r,children:[d.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:d.jsx(iFn,{children:d.jsx(Ds,{className:"size-4"})})}),t]})}function ule({className:e,inset:t,...n}){return d.jsx(tFn,{"data-slot":"dropdown-menu-label","data-inset":t,className:_t("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function dle({className:e,...t}){return d.jsx(aFn,{"data-slot":"dropdown-menu-separator",className:_t("bg-gray-200 -mx-1 my-1 h-px dark:bg-gray-800",e),...t})}function ZNe({className:e,...t}){return d.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:_t("text-gray-500 ml-auto text-xs tracking-widest dark:text-gray-400",e),...t})}function utt({links:e,isCollapsed:t,closeNav:n}){const r=({sub:i,...a})=>{const o=`${a.title}-${a.href}`;return t&&i?w.createElement(uFn,{...a,sub:i,key:o,closeNav:n}):t?w.createElement(cFn,{...a,key:o,closeNav:n}):i?w.createElement(lFn,{...a,sub:i,key:o,closeNav:n}):w.createElement(dtt,{...a,key:o,closeNav:n})};return d.jsx(HKe,{className:"h-screen pb-40",children:d.jsx(yL,{delayDuration:0,children:d.jsx("nav",{className:"grid grid-cols-1 items-start gap-2",children:e.map(r)})})})}function dtt({title:e,icon:t,label:n,href:r,action:i,closeNav:a,subLink:o=!1}){return i?d.jsxs("button",{onClick:()=>{i(),a()},className:_t(ug({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6 w-full",o&&"h-10 w-full border-l border-l-slate-500 px-2"),children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]}):d.jsxs(qS,{to:r,onClick:a,className:_t(ug({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6",o&&"h-10 w-full border-l border-l-slate-500 px-2"),"aria-current":"page",children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]})}function lFn({title:e,icon:t,label:n,sub:r,closeNav:i}){const a=!!r?.find(o=>o.href===window.location.pathname);return d.jsxs($2n,{defaultOpen:a,children:[d.jsxs(L2n,{className:_t(ug({variant:"ghost",size:"sm"}),"group h-12 w-full justify-start rounded-none px-6"),children:[d.jsx("div",{className:"mr-2",children:t}),d.jsx("div",{className:"font-semibold tracking-tight",children:e}),n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n}),d.jsx("span",{className:_t('ml-auto transition-all group-data-[state="open"]:-rotate-180'),children:d.jsx(Jr,{})})]}),d.jsx(U2n,{className:"collapsibleDropdown",asChild:!0,children:d.jsx("ul",{children:r.map(o=>d.jsx("li",{className:"my-1 ml-8",children:d.jsx(dtt,{...o,subLink:!0,closeNav:i})},o.title))})})]})}function cFn({title:e,icon:t,label:n,href:r,action:i}){return d.jsxs(_g,{delayDuration:0,children:[d.jsx(Ng,{asChild:!0,children:i?d.jsxs(Ge,{variant:"ghost",size:"icon",className:"h-12 w-12",onClick:i,children:[t,d.jsx("span",{className:"sr-only",children:e})]}):d.jsxs(qS,{to:r,className:_t(ug({variant:"ghost",size:"icon"}),"h-12 w-12"),children:[t,d.jsx("span",{className:"sr-only",children:e})]})}),d.jsxs(Eg,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e,n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n})]})]})}function uFn({title:e,icon:t,label:n,sub:r}){const i=!!r?.find(a=>a.href===window.location.pathname);return d.jsxs(CT,{children:[d.jsxs(_g,{delayDuration:0,children:[d.jsx(Ng,{asChild:!0,children:d.jsx(_T,{asChild:!0,children:d.jsx(Ge,{variant:i?"secondary":"ghost",size:"icon",className:"h-12 w-12",children:t})})}),d.jsxs(Eg,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e," ",n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n}),d.jsx(Jr,{size:18,className:"-rotate-90 text-muted-foreground"})]})]}),d.jsxs(NT,{side:"right",align:"start",sideOffset:4,children:[d.jsxs(ule,{children:[e," ",n?`(${n})`:""]}),d.jsx(dle,{}),r.map(({title:a,icon:o,label:s,href:l,action:c})=>d.jsx(JA,{asChild:!c,children:c?d.jsxs("button",{onClick:c,className:_t(ug({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6 w-full"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]}):d.jsxs(qS,{to:l,className:_t(ug({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]})},`${a}-${l||a}`))]})]})}const ZR=[{title:"Charges",label:"",href:"",icon:d.jsx(gk,{size:18}),sub:[{title:"All Charges",label:"",href:"/charges",icon:d.jsx(gk,{size:18})},{title:"Missing Info Charges",label:"",href:"/missing-info-charges",icon:d.jsx(WBt,{size:18})},{title:"Ledger Validation",label:"",href:"/charges-ledger-validation",icon:d.jsx(GOt,{size:18})}]},{title:"Reports",label:"",href:"",icon:d.jsx(QBt,{size:18}),sub:[{title:"VAT Monthly Report",label:"",href:"/reports/vat-monthly",icon:d.jsx(gk,{size:18})},{title:"Trial Balance Report",label:"",href:"/reports/trial-balance",icon:d.jsx(eLe,{size:18})},{title:"Conto Report",label:"",href:"/reports/conto",icon:d.jsx(HBt,{size:18})},{title:"Profit and Loss Report",label:"",href:"/reports/profit-and-loss",icon:d.jsx(UY,{size:18})},{title:"Tax Report",label:"",href:"/reports/tax",icon:d.jsx(Kge,{size:18})},{title:"Corporate Tax Ruling Compliance Report",label:"",href:"/reports/corporate-tax-ruling-compliance",icon:d.jsx(Kge,{size:18})},{title:"Depreciation Report",label:"",href:"/reports/depreciation",icon:d.jsx(o5t,{size:18})},{title:"Shaam 6111 Report",label:"",href:"/reports/shaam6111",icon:d.jsx(UY,{size:18})},{title:"Accountant Approvals",label:"",href:"/accountant-approvals",icon:d.jsx(e5t,{size:18})},{title:"Yearly Ledger Report",label:"",href:"/reports/yearly-ledger",icon:d.jsx(ZBt,{size:18})},{title:"Transactions Balance",label:"",href:"/reports/balance",icon:d.jsx(l5t,{size:18})},{title:"Validate Reports",label:"",href:"/reports/validate-reports",icon:d.jsx(u5t,{size:18})},{title:"Generate Uniform Files",label:"",icon:d.jsx(Sne,{size:18})}]},{title:"Financial Entities",label:"",href:"",icon:d.jsx(X3e,{size:18}),sub:[{title:"Businesses",label:"",href:"/businesses",icon:d.jsx(Q5t,{size:18})},{title:"Business Transactions",label:"",href:"/business-transactions",icon:d.jsx($Ot,{size:18})},{title:"Tax Categories",label:"",href:"/tax-categories",icon:d.jsx(jOt,{size:18})},{title:"Sort Codes",label:"",href:"/sort-codes",icon:d.jsx(KOt,{size:18})}]},{title:"Documents",label:"",href:"",icon:d.jsx(Wge,{size:18}),sub:[{href:"/documents",title:"All Documents",label:"",icon:d.jsx(Wge,{size:18})},{title:"Issue Documents",label:"",href:"/documents/issue-documents",icon:d.jsx(Vge,{size:18})},{title:"Issue Document",label:"",href:"/documents/issue-document",icon:d.jsx(Vge,{size:18})}]},{href:"/business-trips",title:"Business Trips",label:"",icon:d.jsx(RBt,{size:18})},{title:"Charts",label:"",href:"",icon:d.jsx(U7,{size:18}),sub:[{title:"Main",label:"",href:"/charts/",icon:d.jsx(U7,{size:18})},{title:"Monthly Income/Expense",label:"",href:"/charts/monthly-income-expense",icon:d.jsx(U7,{size:18})}]},{href:"/salaries",title:"Salaries",label:"",icon:d.jsx(VOt,{size:18})},{href:"/tags",title:"Tags",label:"",icon:d.jsx(uIt,{size:18})}];function dFn(){const[e,t]=w.useState(!1),[n,r]=w.useState(!1),i=ZR.map(a=>a.sub?{...a,sub:a.sub.map(o=>o.title==="Generate Uniform Files"?{...o,action:()=>{t(!1),r(!0)}}:o)}:a);return d.jsxs(d.Fragment,{children:[d.jsxs(F2n,{open:e,onOpenChange:t,children:[d.jsx(D2n,{asChild:!0,children:d.jsx(_Bt,{})}),d.jsx(B2n,{side:"left",className:"px-0!",children:d.jsx("div",{className:"space-y-4 py-4",children:d.jsxs("div",{className:"px-3 py-2",children:[d.jsx("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:"Overview"}),d.jsx("div",{className:"space-y-1",children:d.jsx(utt,{isCollapsed:!1,links:i,closeNav:()=>t(!1)})})]})})})]}),d.jsx(wet,{open:n,onOpenChange:r})]})}const qQ="mergeChargesByTransactionReference",fFn=()=>{const[{fetching:e},t]=qn(DFt),[{fetching:n},r]=qn(TFt),[{fetching:i},a]=qn(OFt),o=w.useCallback(async()=>{let s="Error flagging foreign fee transactions";const l=`${qQ}-fees`,c=`${qQ}-merge`,u=`${qQ}-debit-date`;qe.loading("Flagging Fees",{id:l});try{const f=await t({}),h=Gn(f,s,l);if(!h)return;if(!h.flagForeignFeeTransactions.success){console.error(`${s} ${h.flagForeignFeeTransactions.errors?`:
985
+ `)+" "+te[1]:te[0]+W+" "+G.join(", ")+" "+te[1]}e.types=v2n();function y(G){return Array.isArray(G)}e.isArray=y;function x(G){return typeof G=="boolean"}e.isBoolean=x;function k(G){return G===null}e.isNull=k;function S(G){return G==null}e.isNullOrUndefined=S;function C(G){return typeof G=="number"}e.isNumber=C;function N(G){return typeof G=="string"}e.isString=N;function E(G){return typeof G=="symbol"}e.isSymbol=E;function D(G){return G===void 0}e.isUndefined=D;function T(G){return P(G)&&U(G)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function P(G){return typeof G=="object"&&G!==null}e.isObject=P;function O(G){return P(G)&&U(G)==="[object Date]"}e.isDate=O,e.types.isDate=O;function B(G){return P(G)&&(U(G)==="[object Error]"||G instanceof Error)}e.isError=B,e.types.isNativeError=B;function M(G){return typeof G=="function"}e.isFunction=M;function $(G){return G===null||typeof G=="boolean"||typeof G=="number"||typeof G=="string"||typeof G=="symbol"||typeof G>"u"}e.isPrimitive=$,e.isBuffer=y2n();function U(G){return Object.prototype.toString.call(G)}function j(G){return G<10?"0"+G.toString(10):G.toString(10)}var V=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Q(){var G=new Date,W=[j(G.getHours()),j(G.getMinutes()),j(G.getSeconds())].join(":");return[G.getDate(),V[G.getMonth()],W].join(" ")}e.log=function(){console.log("%s - %s",Q(),e.format.apply(e,arguments))},e.inherits=u1(),e._extend=function(G,W){if(!W||!P(W))return G;for(var te=Object.keys(W),re=te.length;re--;)G[te[re]]=W[te[re]];return G};function X(G,W){return Object.prototype.hasOwnProperty.call(G,W)}var Z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(Z&&W[Z]){var te=W[Z];if(typeof te!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(te,Z,{value:te,enumerable:!1,writable:!1,configurable:!0}),te}function te(){for(var re,ne,de=new Promise(function(oe,J){re=oe,ne=J}),he=[],pe=0;pe<arguments.length;pe++)he.push(arguments[pe]);he.push(function(oe,J){oe?ne(oe):re(J)});try{W.apply(this,he)}catch(oe){ne(oe)}return de}return Object.setPrototypeOf(te,Object.getPrototypeOf(W)),Z&&Object.defineProperty(te,Z,{value:te,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(te,n(W))},e.promisify.custom=Z;function le(G,W){if(!G){var te=new Error("Promise was rejected with a falsy value");te.reason=G,G=te}return W(G)}function H(G){if(typeof G!="function")throw new TypeError('The "original" argument must be of type Function');function W(){for(var te=[],re=0;re<arguments.length;re++)te.push(arguments[re]);var ne=te.pop();if(typeof ne!="function")throw new TypeError("The last argument must be of type Function");var de=this,he=function(){return ne.apply(de,arguments)};G.apply(this,te).then(function(pe){Xn.nextTick(he.bind(null,null,pe))},function(pe){Xn.nextTick(le.bind(null,pe,he))})}return Object.setPrototypeOf(W,Object.getPrototypeOf(G)),Object.defineProperties(W,n(G)),W}e.callbackify=H})(_Q)),_Q}var TQ,INe;function b2n(){if(INe)return TQ;INe=1;function e(p,A){var v=Object.keys(p);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(p);A&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(p,x).enumerable})),v.push.apply(v,y)}return v}function t(p){for(var A=1;A<arguments.length;A++){var v=arguments[A]!=null?arguments[A]:{};A%2?e(Object(v),!0).forEach(function(y){n(p,y,v[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(y){Object.defineProperty(p,y,Object.getOwnPropertyDescriptor(v,y))})}return p}function n(p,A,v){return A=o(A),A in p?Object.defineProperty(p,A,{value:v,enumerable:!0,configurable:!0,writable:!0}):p[A]=v,p}function r(p,A){if(!(p instanceof A))throw new TypeError("Cannot call a class as a function")}function i(p,A){for(var v=0;v<A.length;v++){var y=A[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(p,o(y.key),y)}}function a(p,A,v){return A&&i(p.prototype,A),Object.defineProperty(p,"prototype",{writable:!1}),p}function o(p){var A=s(p,"string");return typeof A=="symbol"?A:String(A)}function s(p,A){if(typeof p!="object"||p===null)return p;var v=p[Symbol.toPrimitive];if(v!==void 0){var y=v.call(p,A);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}var l=wT(),c=l.Buffer,u=Aet(),f=u.inspect,h=f&&f.custom||"inspect";function m(p,A,v){c.prototype.copy.call(p,A,v)}return TQ=(function(){function p(){r(this,p),this.head=null,this.tail=null,this.length=0}return a(p,[{key:"push",value:function(v){var y={data:v,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:"unshift",value:function(v){var y={data:v,next:this.head};this.length===0&&(this.tail=y),this.head=y,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var y=this.head,x=""+y.data;y=y.next;)x+=v+y.data;return x}},{key:"concat",value:function(v){if(this.length===0)return c.alloc(0);for(var y=c.allocUnsafe(v>>>0),x=this.head,k=0;x;)m(x.data,y,k),k+=x.data.length,x=x.next;return y}},{key:"consume",value:function(v,y){var x;return v<this.head.data.length?(x=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?x=this.shift():x=y?this._getString(v):this._getBuffer(v),x}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var y=this.head,x=1,k=y.data;for(v-=k.length;y=y.next;){var S=y.data,C=v>S.length?S.length:v;if(C===S.length?k+=S:k+=S.slice(0,v),v-=C,v===0){C===S.length?(++x,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=S.slice(C));break}++x}return this.length-=x,k}},{key:"_getBuffer",value:function(v){var y=c.allocUnsafe(v),x=this.head,k=1;for(x.data.copy(y),v-=x.data.length;x=x.next;){var S=x.data,C=v>S.length?S.length:v;if(S.copy(y,y.length-v,0,C),v-=C,v===0){C===S.length?(++k,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=S.slice(C));break}++k}return this.length-=k,y}},{key:h,value:function(v,y){return f(this,t(t({},y),{},{depth:0,customInspect:!1}))}}]),p})(),TQ}var OQ,jNe;function get(){if(jNe)return OQ;jNe=1;function e(o,s){var l=this,c=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return c||u?(s?s(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Xn.nextTick(i,this,o)):Xn.nextTick(i,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(f){!s&&f?l._writableState?l._writableState.errorEmitted?Xn.nextTick(n,l):(l._writableState.errorEmitted=!0,Xn.nextTick(t,l,f)):Xn.nextTick(t,l,f):s?(Xn.nextTick(n,l),s(f)):Xn.nextTick(n,l)}),this)}function t(o,s){i(o,s),n(o)}function n(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(o,s){o.emit("error",s)}function a(o,s){var l=o._readableState,c=o._writableState;l&&l.autoDestroy||c&&c.autoDestroy?o.destroy(s):o.emit("error",s)}return OQ={destroy:e,undestroy:r,errorOrDestroy:a},OQ}var BQ={},PNe;function _C(){if(PNe)return BQ;PNe=1;function e(s,l){s.prototype=Object.create(l.prototype),s.prototype.constructor=s,s.__proto__=l}var t={};function n(s,l,c){c||(c=Error);function u(h,m,p){return typeof l=="string"?l:l(h,m,p)}var f=(function(h){e(m,h);function m(p,A,v){return h.call(this,u(p,A,v))||this}return m})(c);f.prototype.name=c.name,f.prototype.code=s,t[s]=f}function r(s,l){if(Array.isArray(s)){var c=s.length;return s=s.map(function(u){return String(u)}),c>2?"one of ".concat(l," ").concat(s.slice(0,c-1).join(", "),", or ")+s[c-1]:c===2?"one of ".concat(l," ").concat(s[0]," or ").concat(s[1]):"of ".concat(l," ").concat(s[0])}else return"of ".concat(l," ").concat(String(s))}function i(s,l,c){return s.substr(0,l.length)===l}function a(s,l,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-l.length,c)===l}function o(s,l,c){return typeof c!="number"&&(c=0),c+l.length>s.length?!1:s.indexOf(l,c)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,l){return'The value "'+l+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,l,c){var u;typeof l=="string"&&i(l,"not ")?(u="must not be",l=l.replace(/^not /,"")):u="must be";var f;if(a(s," argument"))f="The ".concat(s," ").concat(u," ").concat(r(l,"type"));else{var h=o(s,".")?"property":"argument";f='The "'.concat(s,'" ').concat(h," ").concat(u," ").concat(r(l,"type"))}return f+=". Received type ".concat(typeof c),f},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),BQ.codes=t,BQ}var IQ,MNe;function vet(){if(MNe)return IQ;MNe=1;var e=_C().codes.ERR_INVALID_OPT_VALUE;function t(r,i,a){return r.highWaterMark!=null?r.highWaterMark:i?r[a]:null}function n(r,i,a,o){var s=t(i,o,a);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var l=o?a:"highWaterMark";throw new e(l,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return IQ={getHighWaterMark:n},IQ}var jQ,RNe;function x2n(){if(RNe)return jQ;RNe=1,jQ=e;function e(n,r){if(t("noDeprecation"))return n;var i=!1;function a(){if(!i){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return a}function t(n){try{if(!yu.localStorage)return!1}catch{return!1}var r=yu.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return jQ}var PQ,$Ne;function yet(){if($Ne)return PQ;$Ne=1,PQ=D;function e(re){var ne=this;this.next=null,this.entry=null,this.finish=function(){te(ne,re)}}var t;D.WritableState=N;var n={deprecate:x2n()},r=pet(),i=wT().Buffer,a=(typeof yu<"u"?yu:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(re){return i.from(re)}function s(re){return i.isBuffer(re)||re instanceof a}var l=get(),c=vet(),u=c.getHighWaterMark,f=_C().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,p=f.ERR_MULTIPLE_CALLBACK,A=f.ERR_STREAM_CANNOT_PIPE,v=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,x=f.ERR_STREAM_WRITE_AFTER_END,k=f.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;u1()(D,r);function C(){}function N(re,ne,de){t=t||wS(),re=re||{},typeof de!="boolean"&&(de=ne instanceof t),this.objectMode=!!re.objectMode,de&&(this.objectMode=this.objectMode||!!re.writableObjectMode),this.highWaterMark=u(this,re,"writableHighWaterMark",de),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var he=re.decodeStrings===!1;this.decodeStrings=!he,this.defaultEncoding=re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(pe){j(ne,pe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=re.emitClose!==!1,this.autoDestroy=!!re.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}N.prototype.getBuffer=function(){for(var ne=this.bufferedRequest,de=[];ne;)de.push(ne),ne=ne.next;return de},(function(){try{Object.defineProperty(N.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var E;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(ne){return E.call(this,ne)?!0:this!==D?!1:ne&&ne._writableState instanceof N}})):E=function(ne){return ne instanceof this};function D(re){t=t||wS();var ne=this instanceof t;if(!ne&&!E.call(D,this))return new D(re);this._writableState=new N(re,this,ne),this.writable=!0,re&&(typeof re.write=="function"&&(this._write=re.write),typeof re.writev=="function"&&(this._writev=re.writev),typeof re.destroy=="function"&&(this._destroy=re.destroy),typeof re.final=="function"&&(this._final=re.final)),r.call(this)}D.prototype.pipe=function(){S(this,new A)};function T(re,ne){var de=new x;S(re,de),Xn.nextTick(ne,de)}function P(re,ne,de,he){var pe;return de===null?pe=new y:typeof de!="string"&&!ne.objectMode&&(pe=new h("chunk",["string","Buffer"],de)),pe?(S(re,pe),Xn.nextTick(he,pe),!1):!0}D.prototype.write=function(re,ne,de){var he=this._writableState,pe=!1,oe=!he.objectMode&&s(re);return oe&&!i.isBuffer(re)&&(re=o(re)),typeof ne=="function"&&(de=ne,ne=null),oe?ne="buffer":ne||(ne=he.defaultEncoding),typeof de!="function"&&(de=C),he.ending?T(this,de):(oe||P(this,he,re,de))&&(he.pendingcb++,pe=B(this,he,oe,re,ne,de)),pe},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var re=this._writableState;re.corked&&(re.corked--,!re.writing&&!re.corked&&!re.bufferProcessing&&re.bufferedRequest&&X(this,re))},D.prototype.setDefaultEncoding=function(ne){if(typeof ne=="string"&&(ne=ne.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ne+"").toLowerCase())>-1))throw new k(ne);return this._writableState.defaultEncoding=ne,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(re,ne,de){return!re.objectMode&&re.decodeStrings!==!1&&typeof ne=="string"&&(ne=i.from(ne,de)),ne}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(re,ne,de,he,pe,oe){if(!de){var J=O(ne,he,pe);he!==J&&(de=!0,pe="buffer",he=J)}var Se=ne.objectMode?1:he.length;ne.length+=Se;var be=ne.length<ne.highWaterMark;if(be||(ne.needDrain=!0),ne.writing||ne.corked){var we=ne.lastBufferedRequest;ne.lastBufferedRequest={chunk:he,encoding:pe,isBuf:de,callback:oe,next:null},we?we.next=ne.lastBufferedRequest:ne.bufferedRequest=ne.lastBufferedRequest,ne.bufferedRequestCount+=1}else M(re,ne,!1,Se,he,pe,oe);return be}function M(re,ne,de,he,pe,oe,J){ne.writelen=he,ne.writecb=J,ne.writing=!0,ne.sync=!0,ne.destroyed?ne.onwrite(new v("write")):de?re._writev(pe,ne.onwrite):re._write(pe,oe,ne.onwrite),ne.sync=!1}function $(re,ne,de,he,pe){--ne.pendingcb,de?(Xn.nextTick(pe,he),Xn.nextTick(G,re,ne),re._writableState.errorEmitted=!0,S(re,he)):(pe(he),re._writableState.errorEmitted=!0,S(re,he),G(re,ne))}function U(re){re.writing=!1,re.writecb=null,re.length-=re.writelen,re.writelen=0}function j(re,ne){var de=re._writableState,he=de.sync,pe=de.writecb;if(typeof pe!="function")throw new p;if(U(de),ne)$(re,de,he,ne,pe);else{var oe=Z(de)||re.destroyed;!oe&&!de.corked&&!de.bufferProcessing&&de.bufferedRequest&&X(re,de),he?Xn.nextTick(V,re,de,oe,pe):V(re,de,oe,pe)}}function V(re,ne,de,he){de||Q(re,ne),ne.pendingcb--,he(),G(re,ne)}function Q(re,ne){ne.length===0&&ne.needDrain&&(ne.needDrain=!1,re.emit("drain"))}function X(re,ne){ne.bufferProcessing=!0;var de=ne.bufferedRequest;if(re._writev&&de&&de.next){var he=ne.bufferedRequestCount,pe=new Array(he),oe=ne.corkedRequestsFree;oe.entry=de;for(var J=0,Se=!0;de;)pe[J]=de,de.isBuf||(Se=!1),de=de.next,J+=1;pe.allBuffers=Se,M(re,ne,!0,ne.length,pe,"",oe.finish),ne.pendingcb++,ne.lastBufferedRequest=null,oe.next?(ne.corkedRequestsFree=oe.next,oe.next=null):ne.corkedRequestsFree=new e(ne),ne.bufferedRequestCount=0}else{for(;de;){var be=de.chunk,we=de.encoding,me=de.callback,K=ne.objectMode?1:be.length;if(M(re,ne,!1,K,be,we,me),de=de.next,ne.bufferedRequestCount--,ne.writing)break}de===null&&(ne.lastBufferedRequest=null)}ne.bufferedRequest=de,ne.bufferProcessing=!1}D.prototype._write=function(re,ne,de){de(new m("_write()"))},D.prototype._writev=null,D.prototype.end=function(re,ne,de){var he=this._writableState;return typeof re=="function"?(de=re,re=null,ne=null):typeof ne=="function"&&(de=ne,ne=null),re!=null&&this.write(re,ne),he.corked&&(he.corked=1,this.uncork()),he.ending||W(this,he,de),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Z(re){return re.ending&&re.length===0&&re.bufferedRequest===null&&!re.finished&&!re.writing}function le(re,ne){re._final(function(de){ne.pendingcb--,de&&S(re,de),ne.prefinished=!0,re.emit("prefinish"),G(re,ne)})}function H(re,ne){!ne.prefinished&&!ne.finalCalled&&(typeof re._final=="function"&&!ne.destroyed?(ne.pendingcb++,ne.finalCalled=!0,Xn.nextTick(le,re,ne)):(ne.prefinished=!0,re.emit("prefinish")))}function G(re,ne){var de=Z(ne);if(de&&(H(re,ne),ne.pendingcb===0&&(ne.finished=!0,re.emit("finish"),ne.autoDestroy))){var he=re._readableState;(!he||he.autoDestroy&&he.endEmitted)&&re.destroy()}return de}function W(re,ne,de){ne.ending=!0,G(re,ne),de&&(ne.finished?Xn.nextTick(de):re.once("finish",de)),ne.ended=!0,re.writable=!1}function te(re,ne,de){var he=re.entry;for(re.entry=null;he;){var pe=he.callback;ne.pendingcb--,pe(de),he=he.next}ne.corkedRequestsFree.next=re}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ne){this._writableState&&(this._writableState.destroyed=ne)}}),D.prototype.destroy=l.destroy,D.prototype._undestroy=l.undestroy,D.prototype._destroy=function(re,ne){ne(re)},PQ}var MQ,LNe;function wS(){if(LNe)return MQ;LNe=1;var e=Object.keys||function(c){var u=[];for(var f in c)u.push(f);return u};MQ=o;var t=bet(),n=yet();u1()(o,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var a=r[i];o.prototype[a]||(o.prototype[a]=n.prototype[a])}function o(c){if(!(this instanceof o))return new o(c);t.call(this,c),n.call(this,c),this.allowHalfOpen=!0,c&&(c.readable===!1&&(this.readable=!1),c.writable===!1&&(this.writable=!1),c.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||Xn.nextTick(l,this)}function l(c){c.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),MQ}var RQ,UNe;function Xse(){if(UNe)return RQ;UNe=1;var e=_C().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var o=!1;return function(){if(!o){o=!0;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.apply(this,l)}}}function n(){}function r(a){return a.setHeader&&typeof a.abort=="function"}function i(a,o,s){if(typeof o=="function")return i(a,null,o);o||(o={}),s=t(s||n);var l=o.readable||o.readable!==!1&&a.readable,c=o.writable||o.writable!==!1&&a.writable,u=function(){a.writable||h()},f=a._writableState&&a._writableState.finished,h=function(){c=!1,f=!0,l||s.call(a)},m=a._readableState&&a._readableState.endEmitted,p=function(){l=!1,m=!0,c||s.call(a)},A=function(k){s.call(a,k)},v=function(){var k;if(l&&!m)return(!a._readableState||!a._readableState.ended)&&(k=new e),s.call(a,k);if(c&&!f)return(!a._writableState||!a._writableState.ended)&&(k=new e),s.call(a,k)},y=function(){a.req.on("finish",h)};return r(a)?(a.on("complete",h),a.on("abort",v),a.req?y():a.on("request",y)):c&&!a._writableState&&(a.on("end",u),a.on("close",u)),a.on("end",p),a.on("finish",h),o.error!==!1&&a.on("error",A),a.on("close",v),function(){a.removeListener("complete",h),a.removeListener("abort",v),a.removeListener("request",y),a.req&&a.req.removeListener("finish",h),a.removeListener("end",u),a.removeListener("close",u),a.removeListener("finish",h),a.removeListener("end",p),a.removeListener("error",A),a.removeListener("close",v)}}return RQ=i,RQ}var $Q,zNe;function w2n(){if(zNe)return $Q;zNe=1;var e;function t(k,S,C){return S=n(S),S in k?Object.defineProperty(k,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):k[S]=C,k}function n(k){var S=r(k,"string");return typeof S=="symbol"?S:String(S)}function r(k,S){if(typeof k!="object"||k===null)return k;var C=k[Symbol.toPrimitive];if(C!==void 0){var N=C.call(k,S);if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(k)}var i=Xse(),a=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),u=Symbol("handlePromise"),f=Symbol("stream");function h(k,S){return{value:k,done:S}}function m(k){var S=k[a];if(S!==null){var C=k[f].read();C!==null&&(k[c]=null,k[a]=null,k[o]=null,S(h(C,!1)))}}function p(k){Xn.nextTick(m,k)}function A(k,S){return function(C,N){k.then(function(){if(S[l]){C(h(void 0,!0));return}S[u](C,N)},N)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var S=this,C=this[s];if(C!==null)return Promise.reject(C);if(this[l])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise(function(T,P){Xn.nextTick(function(){S[s]?P(S[s]):T(h(void 0,!0))})});var N=this[c],E;if(N)E=new Promise(A(N,this));else{var D=this[f].read();if(D!==null)return Promise.resolve(h(D,!1));E=new Promise(this[u])}return this[c]=E,E}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var S=this;return new Promise(function(C,N){S[f].destroy(null,function(E){if(E){N(E);return}C(h(void 0,!0))})})}),e),v),x=function(S){var C,N=Object.create(y,(C={},t(C,f,{value:S,writable:!0}),t(C,a,{value:null,writable:!0}),t(C,o,{value:null,writable:!0}),t(C,s,{value:null,writable:!0}),t(C,l,{value:S._readableState.endEmitted,writable:!0}),t(C,u,{value:function(D,T){var P=N[f].read();P?(N[c]=null,N[a]=null,N[o]=null,D(h(P,!1))):(N[a]=D,N[o]=T)},writable:!0}),C));return N[c]=null,i(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=N[o];D!==null&&(N[c]=null,N[a]=null,N[o]=null,D(E)),N[s]=E;return}var T=N[a];T!==null&&(N[c]=null,N[a]=null,N[o]=null,T(h(void 0,!0))),N[l]=!0}),S.on("readable",p.bind(null,N)),N};return $Q=x,$Q}var LQ,HNe;function k2n(){return HNe||(HNe=1,LQ=function(){throw new Error("Readable.from is not available in the browser")}),LQ}var UQ,VNe;function bet(){if(VNe)return UQ;VNe=1,UQ=T;var e;T.ReadableState=D,Yse().EventEmitter;var t=function(J,Se){return J.listeners(Se).length},n=pet(),r=wT().Buffer,i=(typeof yu<"u"?yu:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(oe){return r.from(oe)}function o(oe){return r.isBuffer(oe)||oe instanceof i}var s=Aet(),l;s&&s.debuglog?l=s.debuglog("stream"):l=function(){};var c=b2n(),u=get(),f=vet(),h=f.getHighWaterMark,m=_C().codes,p=m.ERR_INVALID_ARG_TYPE,A=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,k,S;u1()(T,n);var C=u.errorOrDestroy,N=["error","close","destroy","pause","resume"];function E(oe,J,Se){if(typeof oe.prependListener=="function")return oe.prependListener(J,Se);!oe._events||!oe._events[J]?oe.on(J,Se):Array.isArray(oe._events[J])?oe._events[J].unshift(Se):oe._events[J]=[Se,oe._events[J]]}function D(oe,J,Se){e=e||wS(),oe=oe||{},typeof Se!="boolean"&&(Se=J instanceof e),this.objectMode=!!oe.objectMode,Se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=h(this,oe,"readableHighWaterMark",Se),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=oe.emitClose!==!1,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(x||(x=vJ().StringDecoder),this.decoder=new x(oe.encoding),this.encoding=oe.encoding)}function T(oe){if(e=e||wS(),!(this instanceof T))return new T(oe);var J=this instanceof e;this._readableState=new D(oe,this,J),this.readable=!0,oe&&(typeof oe.read=="function"&&(this._read=oe.read),typeof oe.destroy=="function"&&(this._destroy=oe.destroy)),n.call(this)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(J){this._readableState&&(this._readableState.destroyed=J)}}),T.prototype.destroy=u.destroy,T.prototype._undestroy=u.undestroy,T.prototype._destroy=function(oe,J){J(oe)},T.prototype.push=function(oe,J){var Se=this._readableState,be;return Se.objectMode?be=!0:typeof oe=="string"&&(J=J||Se.defaultEncoding,J!==Se.encoding&&(oe=r.from(oe,J),J=""),be=!0),P(this,oe,J,!1,be)},T.prototype.unshift=function(oe){return P(this,oe,null,!0,!1)};function P(oe,J,Se,be,we){l("readableAddChunk",J);var me=oe._readableState;if(J===null)me.reading=!1,j(oe,me);else{var K;if(we||(K=B(me,J)),K)C(oe,K);else if(me.objectMode||J&&J.length>0)if(typeof J!="string"&&!me.objectMode&&Object.getPrototypeOf(J)!==r.prototype&&(J=a(J)),be)me.endEmitted?C(oe,new y):O(oe,me,J,!0);else if(me.ended)C(oe,new A);else{if(me.destroyed)return!1;me.reading=!1,me.decoder&&!Se?(J=me.decoder.write(J),me.objectMode||J.length!==0?O(oe,me,J,!1):X(oe,me)):O(oe,me,J,!1)}else be||(me.reading=!1,X(oe,me))}return!me.ended&&(me.length<me.highWaterMark||me.length===0)}function O(oe,J,Se,be){J.flowing&&J.length===0&&!J.sync?(J.awaitDrain=0,oe.emit("data",Se)):(J.length+=J.objectMode?1:Se.length,be?J.buffer.unshift(Se):J.buffer.push(Se),J.needReadable&&V(oe)),X(oe,J)}function B(oe,J){var Se;return!o(J)&&typeof J!="string"&&J!==void 0&&!oe.objectMode&&(Se=new p("chunk",["string","Buffer","Uint8Array"],J)),Se}T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(oe){x||(x=vJ().StringDecoder);var J=new x(oe);this._readableState.decoder=J,this._readableState.encoding=this._readableState.decoder.encoding;for(var Se=this._readableState.buffer.head,be="";Se!==null;)be+=J.write(Se.data),Se=Se.next;return this._readableState.buffer.clear(),be!==""&&this._readableState.buffer.push(be),this._readableState.length=be.length,this};var M=1073741824;function $(oe){return oe>=M?oe=M:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}function U(oe,J){return oe<=0||J.length===0&&J.ended?0:J.objectMode?1:oe!==oe?J.flowing&&J.length?J.buffer.head.data.length:J.length:(oe>J.highWaterMark&&(J.highWaterMark=$(oe)),oe<=J.length?oe:J.ended?J.length:(J.needReadable=!0,0))}T.prototype.read=function(oe){l("read",oe),oe=parseInt(oe,10);var J=this._readableState,Se=oe;if(oe!==0&&(J.emittedReadable=!1),oe===0&&J.needReadable&&((J.highWaterMark!==0?J.length>=J.highWaterMark:J.length>0)||J.ended))return l("read: emitReadable",J.length,J.ended),J.length===0&&J.ended?de(this):V(this),null;if(oe=U(oe,J),oe===0&&J.ended)return J.length===0&&de(this),null;var be=J.needReadable;l("need readable",be),(J.length===0||J.length-oe<J.highWaterMark)&&(be=!0,l("length less than watermark",be)),J.ended||J.reading?(be=!1,l("reading or ended",be)):be&&(l("do read"),J.reading=!0,J.sync=!0,J.length===0&&(J.needReadable=!0),this._read(J.highWaterMark),J.sync=!1,J.reading||(oe=U(Se,J)));var we;return oe>0?we=ne(oe,J):we=null,we===null?(J.needReadable=J.length<=J.highWaterMark,oe=0):(J.length-=oe,J.awaitDrain=0),J.length===0&&(J.ended||(J.needReadable=!0),Se!==oe&&J.ended&&de(this)),we!==null&&this.emit("data",we),we};function j(oe,J){if(l("onEofChunk"),!J.ended){if(J.decoder){var Se=J.decoder.end();Se&&Se.length&&(J.buffer.push(Se),J.length+=J.objectMode?1:Se.length)}J.ended=!0,J.sync?V(oe):(J.needReadable=!1,J.emittedReadable||(J.emittedReadable=!0,Q(oe)))}}function V(oe){var J=oe._readableState;l("emitReadable",J.needReadable,J.emittedReadable),J.needReadable=!1,J.emittedReadable||(l("emitReadable",J.flowing),J.emittedReadable=!0,Xn.nextTick(Q,oe))}function Q(oe){var J=oe._readableState;l("emitReadable_",J.destroyed,J.length,J.ended),!J.destroyed&&(J.length||J.ended)&&(oe.emit("readable"),J.emittedReadable=!1),J.needReadable=!J.flowing&&!J.ended&&J.length<=J.highWaterMark,re(oe)}function X(oe,J){J.readingMore||(J.readingMore=!0,Xn.nextTick(Z,oe,J))}function Z(oe,J){for(;!J.reading&&!J.ended&&(J.length<J.highWaterMark||J.flowing&&J.length===0);){var Se=J.length;if(l("maybeReadMore read 0"),oe.read(0),Se===J.length)break}J.readingMore=!1}T.prototype._read=function(oe){C(this,new v("_read()"))},T.prototype.pipe=function(oe,J){var Se=this,be=this._readableState;switch(be.pipesCount){case 0:be.pipes=oe;break;case 1:be.pipes=[be.pipes,oe];break;default:be.pipes.push(oe);break}be.pipesCount+=1,l("pipe count=%d opts=%j",be.pipesCount,J);var we=(!J||J.end!==!1)&&oe!==Xn.stdout&&oe!==Xn.stderr,me=we?ie:We;be.endEmitted?Xn.nextTick(me):Se.once("end",me),oe.on("unpipe",K);function K(tt,ot){l("onunpipe"),tt===Se&&ot&&ot.hasUnpiped===!1&&(ot.hasUnpiped=!0,ve())}function ie(){l("onend"),oe.end()}var ce=le(Se);oe.on("drain",ce);var ue=!1;function ve(){l("cleanup"),oe.removeListener("close",Me),oe.removeListener("finish",$e),oe.removeListener("drain",ce),oe.removeListener("error",Re),oe.removeListener("unpipe",K),Se.removeListener("end",ie),Se.removeListener("end",We),Se.removeListener("data",ke),ue=!0,be.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&ce()}Se.on("data",ke);function ke(tt){l("ondata");var ot=oe.write(tt);l("dest.write",ot),ot===!1&&((be.pipesCount===1&&be.pipes===oe||be.pipesCount>1&&pe(be.pipes,oe)!==-1)&&!ue&&(l("false write response, pause",be.awaitDrain),be.awaitDrain++),Se.pause())}function Re(tt){l("onerror",tt),We(),oe.removeListener("error",Re),t(oe,"error")===0&&C(oe,tt)}E(oe,"error",Re);function Me(){oe.removeListener("finish",$e),We()}oe.once("close",Me);function $e(){l("onfinish"),oe.removeListener("close",Me),We()}oe.once("finish",$e);function We(){l("unpipe"),Se.unpipe(oe)}return oe.emit("pipe",Se),be.flowing||(l("pipe resume"),Se.resume()),oe};function le(oe){return function(){var Se=oe._readableState;l("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&t(oe,"data")&&(Se.flowing=!0,re(oe))}}T.prototype.unpipe=function(oe){var J=this._readableState,Se={hasUnpiped:!1};if(J.pipesCount===0)return this;if(J.pipesCount===1)return oe&&oe!==J.pipes?this:(oe||(oe=J.pipes),J.pipes=null,J.pipesCount=0,J.flowing=!1,oe&&oe.emit("unpipe",this,Se),this);if(!oe){var be=J.pipes,we=J.pipesCount;J.pipes=null,J.pipesCount=0,J.flowing=!1;for(var me=0;me<we;me++)be[me].emit("unpipe",this,{hasUnpiped:!1});return this}var K=pe(J.pipes,oe);return K===-1?this:(J.pipes.splice(K,1),J.pipesCount-=1,J.pipesCount===1&&(J.pipes=J.pipes[0]),oe.emit("unpipe",this,Se),this)},T.prototype.on=function(oe,J){var Se=n.prototype.on.call(this,oe,J),be=this._readableState;return oe==="data"?(be.readableListening=this.listenerCount("readable")>0,be.flowing!==!1&&this.resume()):oe==="readable"&&!be.endEmitted&&!be.readableListening&&(be.readableListening=be.needReadable=!0,be.flowing=!1,be.emittedReadable=!1,l("on readable",be.length,be.reading),be.length?V(this):be.reading||Xn.nextTick(G,this)),Se},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(oe,J){var Se=n.prototype.removeListener.call(this,oe,J);return oe==="readable"&&Xn.nextTick(H,this),Se},T.prototype.removeAllListeners=function(oe){var J=n.prototype.removeAllListeners.apply(this,arguments);return(oe==="readable"||oe===void 0)&&Xn.nextTick(H,this),J};function H(oe){var J=oe._readableState;J.readableListening=oe.listenerCount("readable")>0,J.resumeScheduled&&!J.paused?J.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function G(oe){l("readable nexttick read 0"),oe.read(0)}T.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(l("resume"),oe.flowing=!oe.readableListening,W(this,oe)),oe.paused=!1,this};function W(oe,J){J.resumeScheduled||(J.resumeScheduled=!0,Xn.nextTick(te,oe,J))}function te(oe,J){l("resume",J.reading),J.reading||oe.read(0),J.resumeScheduled=!1,oe.emit("resume"),re(oe),J.flowing&&!J.reading&&oe.read(0)}T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function re(oe){var J=oe._readableState;for(l("flow",J.flowing);J.flowing&&oe.read()!==null;);}T.prototype.wrap=function(oe){var J=this,Se=this._readableState,be=!1;oe.on("end",function(){if(l("wrapped end"),Se.decoder&&!Se.ended){var K=Se.decoder.end();K&&K.length&&J.push(K)}J.push(null)}),oe.on("data",function(K){if(l("wrapped data"),Se.decoder&&(K=Se.decoder.write(K)),!(Se.objectMode&&K==null)&&!(!Se.objectMode&&(!K||!K.length))){var ie=J.push(K);ie||(be=!0,oe.pause())}});for(var we in oe)this[we]===void 0&&typeof oe[we]=="function"&&(this[we]=(function(ie){return function(){return oe[ie].apply(oe,arguments)}})(we));for(var me=0;me<N.length;me++)oe.on(N[me],this.emit.bind(this,N[me]));return this._read=function(K){l("wrapped _read",K),be&&(be=!1,oe.resume())},this},typeof Symbol=="function"&&(T.prototype[Symbol.asyncIterator]=function(){return k===void 0&&(k=w2n()),k(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(J){this._readableState&&(this._readableState.flowing=J)}}),T._fromList=ne,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ne(oe,J){if(J.length===0)return null;var Se;return J.objectMode?Se=J.buffer.shift():!oe||oe>=J.length?(J.decoder?Se=J.buffer.join(""):J.buffer.length===1?Se=J.buffer.first():Se=J.buffer.concat(J.length),J.buffer.clear()):Se=J.buffer.consume(oe,J.decoder),Se}function de(oe){var J=oe._readableState;l("endReadable",J.endEmitted),J.endEmitted||(J.ended=!0,Xn.nextTick(he,J,oe))}function he(oe,J){if(l("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&oe.length===0&&(oe.endEmitted=!0,J.readable=!1,J.emit("end"),oe.autoDestroy)){var Se=J._writableState;(!Se||Se.autoDestroy&&Se.finished)&&J.destroy()}}typeof Symbol=="function"&&(T.from=function(oe,J){return S===void 0&&(S=k2n()),S(T,oe,J)});function pe(oe,J){for(var Se=0,be=oe.length;Se<be;Se++)if(oe[Se]===J)return Se;return-1}return UQ}var zQ,QNe;function xet(){if(QNe)return zQ;QNe=1,zQ=s;var e=_C().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=wS();u1()(s,a);function o(u,f){var h=this._transformState;h.transforming=!1;var m=h.writecb;if(m===null)return this.emit("error",new n);h.writechunk=null,h.writecb=null,f!=null&&this.push(f),m(u);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function s(u){if(!(this instanceof s))return new s(u);a.call(this,u),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",l)}function l(){var u=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,h){c(u,f,h)}):c(this,null,null)}s.prototype.push=function(u,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,u,f)},s.prototype._transform=function(u,f,h){h(new t("_transform()"))},s.prototype._write=function(u,f,h){var m=this._transformState;if(m.writecb=h,m.writechunk=u,m.writeencoding=f,!m.transforming){var p=this._readableState;(m.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},s.prototype._read=function(u){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},s.prototype._destroy=function(u,f){a.prototype._destroy.call(this,u,function(h){f(h)})};function c(u,f,h){if(f)return u.emit("error",f);if(h!=null&&u.push(h),u._writableState.length)throw new i;if(u._transformState.transforming)throw new r;return u.push(null)}return zQ}var HQ,qNe;function S2n(){if(qNe)return HQ;qNe=1,HQ=t;var e=xet();u1()(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,r,i){i(null,n)},HQ}var VQ,GNe;function C2n(){if(GNe)return VQ;GNe=1;var e;function t(h){var m=!1;return function(){m||(m=!0,h.apply(void 0,arguments))}}var n=_C().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function a(h){if(h)throw h}function o(h){return h.setHeader&&typeof h.abort=="function"}function s(h,m,p,A){A=t(A);var v=!1;h.on("close",function(){v=!0}),e===void 0&&(e=Xse()),e(h,{readable:m,writable:p},function(x){if(x)return A(x);v=!0,A()});var y=!1;return function(x){if(!v&&!y){if(y=!0,o(h))return h.abort();if(typeof h.destroy=="function")return h.destroy();A(x||new i("pipe"))}}}function l(h){h()}function c(h,m){return h.pipe(m)}function u(h){return!h.length||typeof h[h.length-1]!="function"?a:h.pop()}function f(){for(var h=arguments.length,m=new Array(h),p=0;p<h;p++)m[p]=arguments[p];var A=u(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new r("streams");var v,y=m.map(function(x,k){var S=k<m.length-1,C=k>0;return s(x,S,C,function(N){v||(v=N),N&&y.forEach(l),!S&&(y.forEach(l),A(v))})});return m.reduce(c)}return VQ=f,VQ}var QQ,WNe;function _2n(){if(WNe)return QQ;WNe=1,QQ=n;var e=Yse().EventEmitter,t=u1();t(n,e),n.Readable=bet(),n.Writable=yet(),n.Duplex=wS(),n.Transform=xet(),n.PassThrough=S2n(),n.finished=Xse(),n.pipeline=C2n(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(r,i){var a=this;function o(m){r.writable&&r.write(m)===!1&&a.pause&&a.pause()}a.on("data",o);function s(){a.readable&&a.resume&&a.resume()}r.on("drain",s),!r._isStdio&&(!i||i.end!==!1)&&(a.on("end",c),a.on("close",u));var l=!1;function c(){l||(l=!0,r.end())}function u(){l||(l=!0,typeof r.destroy=="function"&&r.destroy())}function f(m){if(h(),e.listenerCount(this,"error")===0)throw m}a.on("error",f),r.on("error",f);function h(){a.removeListener("data",o),r.removeListener("drain",s),a.removeListener("end",c),a.removeListener("close",u),a.removeListener("error",f),r.removeListener("error",f),a.removeListener("end",h),a.removeListener("close",h),r.removeListener("close",h)}return a.on("end",h),a.on("close",h),r.on("close",h),r.emit("pipe",a),r},QQ}var KNe;function N2n(){return KNe||(KNe=1,(function(e){var t=r0().Buffer,n=YNn(),r=met(),i=e.exports;i.encodings=null,i.defaultCharUnicode="�",i.defaultCharSingleByte="?",i.encode=function(s,l,c){s=""+(s||"");var u=i.getEncoder(l,c),f=u.write(s),h=u.end();return h&&h.length>0?t.concat([f,h]):f},i.decode=function(s,l,c){typeof s=="string"&&(i.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),i.skipDecodeWarning=!0),s=t.from(""+(s||""),"binary"));var u=i.getDecoder(l,c),f=u.write(s),h=u.end();return h?f+h:f},i.encodingExists=function(s){try{return i.getCodec(s),!0}catch{return!1}},i.toEncoding=i.encode,i.fromEncoding=i.decode,i._codecDataCache={__proto__:null},i.getCodec=function(s){if(!i.encodings){var l=m2n();i.encodings={__proto__:null},r(i.encodings,l)}for(var c=i._canonicalizeEncoding(s),u={};;){var f=i._codecDataCache[c];if(f)return f;var h=i.encodings[c];switch(typeof h){case"string":c=h;break;case"object":for(var m in h)u[m]=h[m];u.encodingName||(u.encodingName=c),c=h.type;break;case"function":return u.encodingName||(u.encodingName=c),f=new h(u,i),i._codecDataCache[u.encodingName]=f,f;default:throw new Error("Encoding not recognized: '"+s+"' (searched as: '"+c+"')")}}},i._canonicalizeEncoding=function(o){return(""+o).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},i.getEncoder=function(s,l){var c=i.getCodec(s),u=new c.encoder(l,c);return c.bomAware&&l&&l.addBOM&&(u=new n.PrependBOM(u,l)),u},i.getDecoder=function(s,l){var c=i.getCodec(s),u=new c.decoder(l,c);return c.bomAware&&!(l&&l.stripBOM===!1)&&(u=new n.StripBOM(u,l)),u},i.enableStreamingAPI=function(s){if(!i.supportsStreams){var l=p2n()(s);i.IconvLiteEncoderStream=l.IconvLiteEncoderStream,i.IconvLiteDecoderStream=l.IconvLiteDecoderStream,i.encodeStream=function(u,f){return new i.IconvLiteEncoderStream(i.getEncoder(u,f),f)},i.decodeStream=function(u,f){return new i.IconvLiteDecoderStream(i.getDecoder(u,f),f)},i.supportsStreams=!0}};var a;try{a=_2n()}catch{}a&&a.Transform?i.enableStreamingAPI(a):i.encodeStream=i.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}})(dQ)),dQ.exports}var E2n=N2n();const YNe=Ni(E2n);function wet({open:e,onOpenChange:t}){const n=wne(new Date),r=Rt(k3(n),"yyyy-MM-dd"),i=Rt(M3e(n),"yyyy-MM-dd"),[a,o]=w.useState(r),[s,l]=w.useState(i),[c,u]=w.useState(!1),[f,h]=w.useState(""),[m,p]=rn({pause:!0,query:QEt,variables:{fromDate:a,toDate:s}});w.useEffect(()=>{if(c&&!m.fetching){if(m.error){h("Failed to fetch uniform format data. Please try again."),console.error("GraphQL error:",m.error),u(!1);return}if(m.data?.uniformFormat){const{bkmvdata:y,ini:x}=m.data.uniformFormat;if(!y||!x){h("Incomplete data received from the server. Please try again."),u(!1);return}const k=new File([new Uint8Array(YNe.encode(y,"ISO-8859-8"))],"bkmvdata.txt",{type:"text/plain"}),S=new File([new Uint8Array(YNe.encode(x,"ISO-8859-8"))],"ini.txt",{type:"text/plain"});QY(S),setTimeout(()=>QY(k),100),t(!1),o(r),l(i),u(!1)}else m.stale&&!m.data?.uniformFormat&&(h("No data returned from the server. Please try again."),u(!1))}},[m,c,a,s,r,i,t]);const A=async y=>{if(y.preventDefault(),h(""),!a||!s){h("Please select both from and to dates");return}const x=new Date(a),k=new Date(s);if(x>=k){h("From date must be before to date");return}if(k>new Date){h("To date cannot be in the future");return}u(!0);try{p({requestPolicy:"network-only"})}catch(S){h("Failed to generate files. Please try again."),console.error("Error generating files:",S),u(!1)}},v=y=>{c||(t(y),y||(o(r),l(i),h("")))};return d.jsx(Ra,{open:e,onOpenChange:v,children:d.jsxs($a,{className:"sm:max-w-md",children:[d.jsxs(us,{children:[d.jsxs(ds,{className:"flex items-center gap-2",children:[d.jsx(Yk,{className:"h-5 w-5"}),"Generate Uniform Files"]}),d.jsx(CHe,{children:"Select the date range to generate and download uniform files."})]}),d.jsxs("form",{onSubmit:A,className:"space-y-4",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx($n,{htmlFor:"from-date",children:"From Date"}),d.jsx(kn,{id:"from-date",type:"date",value:a,onChange:y=>o(y.target.value),disabled:c,required:!0})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx($n,{htmlFor:"to-date",children:"To Date"}),d.jsx(kn,{id:"to-date",type:"date",value:s,onChange:y=>l(y.target.value),disabled:c,required:!0})]})]}),f&&d.jsx("div",{className:"text-sm text-red-600 bg-red-50 p-3 rounded-md",children:f}),d.jsxs(Uy,{className:"gap-2",children:[d.jsx(Ge,{type:"button",variant:"outline",onClick:()=>v(!1),disabled:c,children:"Cancel"}),d.jsx(Ge,{type:"submit",disabled:c,className:"gap-2",children:c?d.jsxs(d.Fragment,{children:[d.jsx(ai,{className:"h-4 w-4 animate-spin"}),"Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Sne,{className:"h-4 w-4"}),"Generate & Download"]})})]})]})]})})}function F2n({...e}){return d.jsx(aL,{"data-slot":"sheet",...e})}function D2n({...e}){return d.jsx(Hie,{"data-slot":"sheet-trigger",...e})}function T2n({...e}){return d.jsx(oL,{"data-slot":"sheet-portal",...e})}function O2n({className:e,...t}){return d.jsx(sL,{"data-slot":"sheet-overlay",className:_t("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1001 bg-black/50",e),...t})}function B2n({className:e,children:t,side:n="right",...r}){return d.jsxs(T2n,{children:[d.jsx(O2n,{}),d.jsxs(lL,{"data-slot":"sheet-content",className:_t("bg-white data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-1001 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-gray-950",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,d.jsxs(SHe,{className:"ring-offset-white focus:ring-gray-950 data-[state=open]:bg-gray-100 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none dark:ring-offset-gray-950 dark:focus:ring-gray-300 dark:data-[state=open]:bg-gray-800",children:[d.jsx(Vx,{className:"size-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}var o8="Collapsible",[I2n,ket]=pc(o8),[j2n,Zse]=I2n(o8),Cet=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[l,c]=Sd({prop:r,defaultProp:i??!1,onChange:o,caller:o8});return d.jsx(j2n,{scope:n,disabled:a,contentId:Ns(),open:l,onOpenToggle:w.useCallback(()=>c(u=>!u),[c]),children:d.jsx(xn.div,{"data-state":nle(l),"data-disabled":a?"":void 0,...s,ref:t})})});Cet.displayName=o8;var _et="CollapsibleTrigger",Jse=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Zse(_et,n);return d.jsx(xn.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":nle(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:sn(e.onClick,i.onOpenToggle)})});Jse.displayName=_et;var ele="CollapsibleContent",tle=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Zse(ele,e.__scopeCollapsible);return d.jsx(Ws,{present:n||i.open,children:({present:a})=>d.jsx(P2n,{...r,ref:t,present:a})})});tle.displayName=ele;var P2n=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Zse(ele,n),[s,l]=w.useState(r),c=w.useRef(null),u=Vr(t,c),f=w.useRef(0),h=f.current,m=w.useRef(0),p=m.current,A=o.open||s,v=w.useRef(A),y=w.useRef(void 0);return w.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),ss(()=>{const x=c.current;if(x){y.current=y.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const k=x.getBoundingClientRect();f.current=k.height,m.current=k.width,v.current||(x.style.transitionDuration=y.current.transitionDuration,x.style.animationName=y.current.animationName),l(r)}},[o.open,r]),d.jsx(xn.div,{"data-state":nle(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!A,...a,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":p?`${p}px`:void 0,...e.style},children:A&&i})});function nle(e){return e?"open":"closed"}var Net=Cet,M2n=Jse,R2n=tle;function $2n({...e}){return d.jsx(Net,{"data-slot":"collapsible",...e})}function L2n({...e}){return d.jsx(Jse,{"data-slot":"collapsible-trigger",...e})}function U2n({...e}){return d.jsx(tle,{"data-slot":"collapsible-content",...e})}var yJ=["Enter"," "],z2n=["ArrowDown","PageUp","Home"],Eet=["ArrowUp","PageDown","End"],H2n=[...z2n,...Eet],V2n={ltr:[...yJ,"ArrowRight"],rtl:[...yJ,"ArrowLeft"]},Q2n={ltr:["ArrowLeft"],rtl:["ArrowRight"]},kT="Menu",[aF,q2n,G2n]=$L(kT),[d1,Fet]=pc(kT,[G2n,Hy,h6]),s8=Hy(),Det=h6(),[W2n,f1]=d1(kT),[K2n,ST]=d1(kT),Tet=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=s8(t),[l,c]=w.useState(null),u=w.useRef(!1),f=ll(a),h=gC(i);return w.useEffect(()=>{const m=()=>{u.current=!0,document.addEventListener("pointerdown",p,{capture:!0,once:!0}),document.addEventListener("pointermove",p,{capture:!0,once:!0})},p=()=>u.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",p,{capture:!0}),document.removeEventListener("pointermove",p,{capture:!0})}},[]),d.jsx(mL,{...s,children:d.jsx(W2n,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:c,children:d.jsx(K2n,{scope:t,onClose:w.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:u,dir:h,modal:o,children:r})})})};Tet.displayName=kT;var Y2n="MenuAnchor",rle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=s8(n);return d.jsx(OD,{...i,...r,ref:t})});rle.displayName=Y2n;var ile="MenuPortal",[X2n,Oet]=d1(ile,{forceMount:void 0}),Bet=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=f1(ile,t);return d.jsx(X2n,{scope:t,forceMount:n,children:d.jsx(Ws,{present:n||a.open,children:d.jsx(hC,{asChild:!0,container:i,children:r})})})};Bet.displayName=ile;var If="MenuContent",[Z2n,ale]=d1(If),Iet=w.forwardRef((e,t)=>{const n=Oet(If,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=f1(If,e.__scopeMenu),o=ST(If,e.__scopeMenu);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(Ws,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:o.modal?d.jsx(J2n,{...i,ref:t}):d.jsx(eEn,{...i,ref:t})})})})}),J2n=w.forwardRef((e,t)=>{const n=f1(If,e.__scopeMenu),r=w.useRef(null),i=Vr(t,r);return w.useEffect(()=>{const a=r.current;if(a)return u3(a)},[]),d.jsx(ole,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:sn(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),eEn=w.forwardRef((e,t)=>{const n=f1(If,e.__scopeMenu);return d.jsx(ole,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),tEn=vy("MenuContent.ScrollLock"),ole=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,disableOutsideScroll:p,...A}=e,v=f1(If,n),y=ST(If,n),x=s8(n),k=Det(n),S=q2n(n),[C,N]=w.useState(null),E=w.useRef(null),D=Vr(t,E,v.onContentChange),T=w.useRef(0),P=w.useRef(""),O=w.useRef(0),B=w.useRef(null),M=w.useRef("right"),$=w.useRef(0),U=p?KS:w.Fragment,j=p?{as:tEn,allowPinchZoom:!0}:void 0,V=X=>{const Z=P.current+X,le=S().filter(ne=>!ne.disabled),H=document.activeElement,G=le.find(ne=>ne.ref.current===H)?.textValue,W=le.map(ne=>ne.textValue),te=hEn(W,Z,G),re=le.find(ne=>ne.textValue===te)?.ref.current;(function ne(de){P.current=de,window.clearTimeout(T.current),de!==""&&(T.current=window.setTimeout(()=>ne(""),1e3))})(Z),re&&setTimeout(()=>re.focus())};w.useEffect(()=>()=>window.clearTimeout(T.current),[]),rL();const Q=w.useCallback(X=>M.current===B.current?.side&&pEn(X,B.current?.area),[]);return d.jsx(Z2n,{scope:n,searchRef:P,onItemEnter:w.useCallback(X=>{Q(X)&&X.preventDefault()},[Q]),onItemLeave:w.useCallback(X=>{Q(X)||(E.current?.focus(),N(null))},[Q]),onTriggerLeave:w.useCallback(X=>{Q(X)&&X.preventDefault()},[Q]),pointerGraceTimerRef:O,onPointerGraceIntentChange:w.useCallback(X=>{B.current=X},[]),children:d.jsx(U,{...j,children:d.jsx(ND,{asChild:!0,trapped:i,onMountAutoFocus:sn(a,X=>{X.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:d.jsx(fC,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,children:d.jsx(tYe,{asChild:!0,...k,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:N,onEntryFocus:sn(l,X=>{y.isUsingKeyboardRef.current||X.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(pL,{role:"menu","aria-orientation":"vertical","data-state":Yet(v.open),"data-radix-menu-content":"",dir:y.dir,...x,...A,ref:D,style:{outline:"none",...A.style},onKeyDown:sn(A.onKeyDown,X=>{const le=X.target.closest("[data-radix-menu-content]")===X.currentTarget,H=X.ctrlKey||X.altKey||X.metaKey,G=X.key.length===1;le&&(X.key==="Tab"&&X.preventDefault(),!H&&G&&V(X.key));const W=E.current;if(X.target!==W||!H2n.includes(X.key))return;X.preventDefault();const re=S().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);Eet.includes(X.key)&&re.reverse(),dEn(re)}),onBlur:sn(e.onBlur,X=>{X.currentTarget.contains(X.target)||(window.clearTimeout(T.current),P.current="")}),onPointerMove:sn(e.onPointerMove,oF(X=>{const Z=X.target,le=$.current!==X.clientX;if(X.currentTarget.contains(Z)&&le){const H=X.clientX>$.current?"right":"left";M.current=H,$.current=X.clientX}}))})})})})})})});Iet.displayName=If;var nEn="MenuGroup",sle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{role:"group",...r,ref:t})});sle.displayName=nEn;var rEn="MenuLabel",jet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{...r,ref:t})});jet.displayName=rEn;var YR="MenuItem",XNe="menu.itemSelect",l8=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=w.useRef(null),o=ST(YR,e.__scopeMenu),s=ale(YR,e.__scopeMenu),l=Vr(t,a),c=w.useRef(!1),u=()=>{const f=a.current;if(!n&&f){const h=new CustomEvent(XNe,{bubbles:!0,cancelable:!0});f.addEventListener(XNe,m=>r?.(m),{once:!0}),kLe(f,h),h.defaultPrevented?c.current=!1:o.onClose()}};return d.jsx(Pet,{...i,ref:l,disabled:n,onClick:sn(e.onClick,u),onPointerDown:f=>{e.onPointerDown?.(f),c.current=!0},onPointerUp:sn(e.onPointerUp,f=>{c.current||f.currentTarget?.click()}),onKeyDown:sn(e.onKeyDown,f=>{const h=s.searchRef.current!=="";n||h&&f.key===" "||yJ.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});l8.displayName=YR;var Pet=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=ale(YR,n),s=Det(n),l=w.useRef(null),c=Vr(t,l),[u,f]=w.useState(!1),[h,m]=w.useState("");return w.useEffect(()=>{const p=l.current;p&&m((p.textContent??"").trim())},[a.children]),d.jsx(aF.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:d.jsx(nYe,{asChild:!0,...s,focusable:!r,children:d.jsx(xn.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:c,onPointerMove:sn(e.onPointerMove,oF(p=>{r?o.onItemLeave(p):(o.onItemEnter(p),p.defaultPrevented||p.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:sn(e.onPointerLeave,oF(p=>o.onItemLeave(p))),onFocus:sn(e.onFocus,()=>f(!0)),onBlur:sn(e.onBlur,()=>f(!1))})})})}),iEn="MenuCheckboxItem",Met=w.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return d.jsx(zet,{scope:e.__scopeMenu,checked:n,children:d.jsx(l8,{role:"menuitemcheckbox","aria-checked":XR(n)?"mixed":n,...i,ref:t,"data-state":cle(n),onSelect:sn(i.onSelect,()=>r?.(XR(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Met.displayName=iEn;var Ret="MenuRadioGroup",[aEn,oEn]=d1(Ret,{value:void 0,onValueChange:()=>{}}),$et=w.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=ll(r);return d.jsx(aEn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:d.jsx(sle,{...i,ref:t})})});$et.displayName=Ret;var Let="MenuRadioItem",Uet=w.forwardRef((e,t)=>{const{value:n,...r}=e,i=oEn(Let,e.__scopeMenu),a=n===i.value;return d.jsx(zet,{scope:e.__scopeMenu,checked:a,children:d.jsx(l8,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":cle(a),onSelect:sn(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Uet.displayName=Let;var lle="MenuItemIndicator",[zet,sEn]=d1(lle,{checked:!1}),Het=w.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=sEn(lle,n);return d.jsx(Ws,{present:r||XR(a.checked)||a.checked===!0,children:d.jsx(xn.span,{...i,ref:t,"data-state":cle(a.checked)})})});Het.displayName=lle;var lEn="MenuSeparator",Vet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(xn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Vet.displayName=lEn;var cEn="MenuArrow",Qet=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=s8(n);return d.jsx(AL,{...i,...r,ref:t})});Qet.displayName=cEn;var uEn="MenuSub",[YWn,qet]=d1(uEn),o2="MenuSubTrigger",Get=w.forwardRef((e,t)=>{const n=f1(o2,e.__scopeMenu),r=ST(o2,e.__scopeMenu),i=qet(o2,e.__scopeMenu),a=ale(o2,e.__scopeMenu),o=w.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},u=w.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return w.useEffect(()=>u,[u]),w.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),d.jsx(rle,{asChild:!0,...c,children:d.jsx(Pet,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":Yet(n.open),...e,ref:cg(t,i.onTriggerChange),onClick:f=>{e.onClick?.(f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:sn(e.onPointerMove,oF(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:sn(e.onPointerLeave,oF(f=>{u();const h=n.content?.getBoundingClientRect();if(h){const m=n.content?.dataset.side,p=m==="right",A=p?-5:5,v=h[p?"left":"right"],y=h[p?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+A,y:f.clientY},{x:v,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:v,y:h.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:sn(e.onKeyDown,f=>{const h=a.searchRef.current!=="";e.disabled||h&&f.key===" "||V2n[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});Get.displayName=o2;var Wet="MenuSubContent",Ket=w.forwardRef((e,t)=>{const n=Oet(If,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=f1(If,e.__scopeMenu),o=ST(If,e.__scopeMenu),s=qet(Wet,e.__scopeMenu),l=w.useRef(null),c=Vr(t,l);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(Ws,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:d.jsx(ole,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:c,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{o.isUsingKeyboardRef.current&&l.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:sn(e.onFocusOutside,u=>{u.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:sn(e.onEscapeKeyDown,u=>{o.onClose(),u.preventDefault()}),onKeyDown:sn(e.onKeyDown,u=>{const f=u.currentTarget.contains(u.target),h=Q2n[o.dir].includes(u.key);f&&h&&(a.onOpenChange(!1),s.trigger?.focus(),u.preventDefault())})})})})})});Ket.displayName=Wet;function Yet(e){return e?"open":"closed"}function XR(e){return e==="indeterminate"}function cle(e){return XR(e)?"indeterminate":e?"checked":"unchecked"}function dEn(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function fEn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function hEn(e,t,n){const i=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=fEn(e,Math.max(a,0));i.length===1&&(o=o.filter(c=>c!==n));const l=o.find(c=>c.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function mEn(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const s=t[a],l=t[o],c=s.x,u=s.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(i=!i)}return i}function pEn(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return mEn(n,t)}function oF(e){return t=>t.pointerType==="mouse"?e(t):void 0}var AEn=Tet,gEn=rle,vEn=Bet,yEn=Iet,bEn=sle,xEn=jet,wEn=l8,kEn=Met,SEn=$et,CEn=Uet,_En=Het,NEn=Vet,EEn=Qet,FEn=Get,DEn=Ket,c8="DropdownMenu",[TEn,XWn]=pc(c8,[Fet]),Qc=Fet(),[OEn,Xet]=TEn(c8),Zet=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=Qc(t),c=w.useRef(null),[u,f]=Sd({prop:i,defaultProp:a??!1,onChange:o,caller:c8});return d.jsx(OEn,{scope:t,triggerId:Ns(),triggerRef:c,contentId:Ns(),open:u,onOpenChange:f,onOpenToggle:w.useCallback(()=>f(h=>!h),[f]),modal:s,children:d.jsx(AEn,{...l,open:u,onOpenChange:f,dir:r,modal:s,children:n})})};Zet.displayName=c8;var Jet="DropdownMenuTrigger",ett=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Xet(Jet,n),o=Qc(n);return d.jsx(gEn,{asChild:!0,...o,children:d.jsx(xn.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:cg(t,a.triggerRef),onPointerDown:sn(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:sn(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});ett.displayName=Jet;var BEn="DropdownMenuPortal",ttt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Qc(t);return d.jsx(vEn,{...r,...n})};ttt.displayName=BEn;var ntt="DropdownMenuContent",rtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Xet(ntt,n),a=Qc(n),o=w.useRef(!1);return d.jsx(yEn,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:sn(e.onCloseAutoFocus,s=>{o.current||i.triggerRef.current?.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:sn(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!i.modal||u)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rtt.displayName=ntt;var IEn="DropdownMenuGroup",itt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(bEn,{...i,...r,ref:t})});itt.displayName=IEn;var jEn="DropdownMenuLabel",att=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(xEn,{...i,...r,ref:t})});att.displayName=jEn;var PEn="DropdownMenuItem",ott=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(wEn,{...i,...r,ref:t})});ott.displayName=PEn;var MEn="DropdownMenuCheckboxItem",stt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(kEn,{...i,...r,ref:t})});stt.displayName=MEn;var REn="DropdownMenuRadioGroup",$En=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(SEn,{...i,...r,ref:t})});$En.displayName=REn;var LEn="DropdownMenuRadioItem",UEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(CEn,{...i,...r,ref:t})});UEn.displayName=LEn;var zEn="DropdownMenuItemIndicator",ltt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(_En,{...i,...r,ref:t})});ltt.displayName=zEn;var HEn="DropdownMenuSeparator",ctt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(NEn,{...i,...r,ref:t})});ctt.displayName=HEn;var VEn="DropdownMenuArrow",QEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(EEn,{...i,...r,ref:t})});QEn.displayName=VEn;var qEn="DropdownMenuSubTrigger",GEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(FEn,{...i,...r,ref:t})});GEn.displayName=qEn;var WEn="DropdownMenuSubContent",KEn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qc(n);return d.jsx(DEn,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});KEn.displayName=WEn;var YEn=Zet,XEn=ett,ZEn=ttt,JEn=rtt,eFn=itt,tFn=att,nFn=ott,rFn=stt,iFn=ltt,aFn=ctt;function CT({...e}){return d.jsx(YEn,{"data-slot":"dropdown-menu",...e})}function _T({...e}){return d.jsx(XEn,{"data-slot":"dropdown-menu-trigger",...e})}function NT({className:e,sideOffset:t=4,...n}){return d.jsx(ZEn,{children:d.jsx(JEn,{"data-slot":"dropdown-menu-content",sideOffset:t,className:_t("bg-white text-gray-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-1001 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-gray-200 p-1 shadow-md dark:bg-gray-950 dark:text-gray-50 dark:border-gray-800",e),...n})})}function oFn({...e}){return d.jsx(eFn,{"data-slot":"dropdown-menu-group",...e})}function JA({className:e,inset:t,variant:n="default",...r}){return d.jsx(nFn,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:_t("focus:bg-gray-100 focus:text-gray-900 data-[variant=destructive]:text-red-500 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/20 data-[variant=destructive]:focus:text-red-500 data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-gray-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50 dark:data-[variant=destructive]:text-red-900 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/20 dark:data-[variant=destructive]:focus:text-red-900 dark:[&_svg:not([class*='text-'])]:text-gray-400",e),...r})}function sFn({className:e,children:t,checked:n,...r}){return d.jsxs(rFn,{"data-slot":"dropdown-menu-checkbox-item",className:_t("focus:bg-gray-100 focus:text-gray-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50",e),checked:n,...r,children:[d.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:d.jsx(iFn,{children:d.jsx(Ds,{className:"size-4"})})}),t]})}function ule({className:e,inset:t,...n}){return d.jsx(tFn,{"data-slot":"dropdown-menu-label","data-inset":t,className:_t("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function dle({className:e,...t}){return d.jsx(aFn,{"data-slot":"dropdown-menu-separator",className:_t("bg-gray-200 -mx-1 my-1 h-px dark:bg-gray-800",e),...t})}function ZNe({className:e,...t}){return d.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:_t("text-gray-500 ml-auto text-xs tracking-widest dark:text-gray-400",e),...t})}function utt({links:e,isCollapsed:t,closeNav:n}){const r=({sub:i,...a})=>{const o=`${a.title}-${a.href}`;return t&&i?w.createElement(uFn,{...a,sub:i,key:o,closeNav:n}):t?w.createElement(cFn,{...a,key:o,closeNav:n}):i?w.createElement(lFn,{...a,sub:i,key:o,closeNav:n}):w.createElement(dtt,{...a,key:o,closeNav:n})};return d.jsx(HKe,{className:"h-screen pb-40",children:d.jsx(yL,{delayDuration:0,children:d.jsx("nav",{className:"grid grid-cols-1 items-start gap-2",children:e.map(r)})})})}function dtt({title:e,icon:t,label:n,href:r,action:i,closeNav:a,subLink:o=!1}){return i?d.jsxs("button",{onClick:()=>{i(),a()},className:_t(ug({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6 w-full",o&&"h-10 w-full border-l border-l-slate-500 px-2"),children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]}):d.jsxs(qS,{to:r,onClick:a,className:_t(ug({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6",o&&"h-10 w-full border-l border-l-slate-500 px-2"),"aria-current":"page",children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]})}function lFn({title:e,icon:t,label:n,sub:r,closeNav:i}){const a=!!r?.find(o=>o.href===window.location.pathname);return d.jsxs($2n,{defaultOpen:a,children:[d.jsxs(L2n,{className:_t(ug({variant:"ghost",size:"sm"}),"group h-12 w-full justify-start rounded-none px-6"),children:[d.jsx("div",{className:"mr-2",children:t}),d.jsx("div",{className:"font-semibold tracking-tight",children:e}),n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n}),d.jsx("span",{className:_t('ml-auto transition-all group-data-[state="open"]:-rotate-180'),children:d.jsx(Jr,{})})]}),d.jsx(U2n,{className:"collapsibleDropdown",asChild:!0,children:d.jsx("ul",{children:r.map(o=>d.jsx("li",{className:"my-1 ml-8",children:d.jsx(dtt,{...o,subLink:!0,closeNav:i})},o.title))})})]})}function cFn({title:e,icon:t,label:n,href:r,action:i}){return d.jsxs(_g,{delayDuration:0,children:[d.jsx(Ng,{asChild:!0,children:i?d.jsxs(Ge,{variant:"ghost",size:"icon",className:"h-12 w-12",onClick:i,children:[t,d.jsx("span",{className:"sr-only",children:e})]}):d.jsxs(qS,{to:r,className:_t(ug({variant:"ghost",size:"icon"}),"h-12 w-12"),children:[t,d.jsx("span",{className:"sr-only",children:e})]})}),d.jsxs(Eg,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e,n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n})]})]})}function uFn({title:e,icon:t,label:n,sub:r}){const i=!!r?.find(a=>a.href===window.location.pathname);return d.jsxs(CT,{children:[d.jsxs(_g,{delayDuration:0,children:[d.jsx(Ng,{asChild:!0,children:d.jsx(_T,{asChild:!0,children:d.jsx(Ge,{variant:i?"secondary":"ghost",size:"icon",className:"h-12 w-12",children:t})})}),d.jsxs(Eg,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e," ",n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n}),d.jsx(Jr,{size:18,className:"-rotate-90 text-muted-foreground"})]})]}),d.jsxs(NT,{side:"right",align:"start",sideOffset:4,children:[d.jsxs(ule,{children:[e," ",n?`(${n})`:""]}),d.jsx(dle,{}),r.map(({title:a,icon:o,label:s,href:l,action:c})=>d.jsx(JA,{asChild:!c,children:c?d.jsxs("button",{onClick:c,className:_t(ug({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6 w-full"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]}):d.jsxs(qS,{to:l,className:_t(ug({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]})},`${a}-${l||a}`))]})]})}const ZR=[{title:"Charges",label:"",href:"",icon:d.jsx(gk,{size:18}),sub:[{title:"All Charges",label:"",href:"/charges",icon:d.jsx(gk,{size:18})},{title:"Missing Info Charges",label:"",href:"/missing-info-charges",icon:d.jsx(WBt,{size:18})},{title:"Ledger Validation",label:"",href:"/charges-ledger-validation",icon:d.jsx(GOt,{size:18})}]},{title:"Reports",label:"",href:"",icon:d.jsx(QBt,{size:18}),sub:[{title:"VAT Monthly Report",label:"",href:"/reports/vat-monthly",icon:d.jsx(gk,{size:18})},{title:"Trial Balance Report",label:"",href:"/reports/trial-balance",icon:d.jsx(eLe,{size:18})},{title:"Conto Report",label:"",href:"/reports/conto",icon:d.jsx(HBt,{size:18})},{title:"Profit and Loss Report",label:"",href:"/reports/profit-and-loss",icon:d.jsx(UY,{size:18})},{title:"Tax Report",label:"",href:"/reports/tax",icon:d.jsx(Kge,{size:18})},{title:"Corporate Tax Ruling Compliance Report",label:"",href:"/reports/corporate-tax-ruling-compliance",icon:d.jsx(Kge,{size:18})},{title:"Depreciation Report",label:"",href:"/reports/depreciation",icon:d.jsx(o5t,{size:18})},{title:"Shaam 6111 Report",label:"",href:"/reports/shaam6111",icon:d.jsx(UY,{size:18})},{title:"Accountant Approvals",label:"",href:"/accountant-approvals",icon:d.jsx(e5t,{size:18})},{title:"Yearly Ledger Report",label:"",href:"/reports/yearly-ledger",icon:d.jsx(ZBt,{size:18})},{title:"Transactions Balance",label:"",href:"/reports/balance",icon:d.jsx(l5t,{size:18})},{title:"Validate Reports",label:"",href:"/reports/validate-reports",icon:d.jsx(u5t,{size:18})},{title:"Generate Uniform Files",label:"",icon:d.jsx(Sne,{size:18})}]},{title:"Financial Entities",label:"",href:"",icon:d.jsx(X3e,{size:18}),sub:[{title:"Businesses",label:"",href:"/businesses",icon:d.jsx(Q5t,{size:18})},{title:"Business Transactions",label:"",href:"/business-transactions",icon:d.jsx($Ot,{size:18})},{title:"Tax Categories",label:"",href:"/tax-categories",icon:d.jsx(jOt,{size:18})},{title:"Sort Codes",label:"",href:"/sort-codes",icon:d.jsx(KOt,{size:18})}]},{title:"Documents",label:"",href:"",icon:d.jsx(Wge,{size:18}),sub:[{href:"/documents",title:"All Documents",label:"",icon:d.jsx(Wge,{size:18})},{title:"Issue Documents",label:"",href:"/documents/issue-documents",icon:d.jsx(Vge,{size:18})},{title:"Issue Document",label:"",href:"/documents/issue-document",icon:d.jsx(Vge,{size:18})}]},{href:"/business-trips",title:"Business Trips",label:"",icon:d.jsx(PBt,{size:18})},{title:"Charts",label:"",href:"",icon:d.jsx(U7,{size:18}),sub:[{title:"Main",label:"",href:"/charts/",icon:d.jsx(U7,{size:18})},{title:"Monthly Income/Expense",label:"",href:"/charts/monthly-income-expense",icon:d.jsx(U7,{size:18})}]},{href:"/salaries",title:"Salaries",label:"",icon:d.jsx(VOt,{size:18})},{href:"/tags",title:"Tags",label:"",icon:d.jsx(uIt,{size:18})}];function dFn(){const[e,t]=w.useState(!1),[n,r]=w.useState(!1),i=ZR.map(a=>a.sub?{...a,sub:a.sub.map(o=>o.title==="Generate Uniform Files"?{...o,action:()=>{t(!1),r(!0)}}:o)}:a);return d.jsxs(d.Fragment,{children:[d.jsxs(F2n,{open:e,onOpenChange:t,children:[d.jsx(D2n,{asChild:!0,children:d.jsx(_Bt,{})}),d.jsx(B2n,{side:"left",className:"px-0!",children:d.jsx("div",{className:"space-y-4 py-4",children:d.jsxs("div",{className:"px-3 py-2",children:[d.jsx("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:"Overview"}),d.jsx("div",{className:"space-y-1",children:d.jsx(utt,{isCollapsed:!1,links:i,closeNav:()=>t(!1)})})]})})})]}),d.jsx(wet,{open:n,onOpenChange:r})]})}const qQ="mergeChargesByTransactionReference",fFn=()=>{const[{fetching:e},t]=qn(DFt),[{fetching:n},r]=qn(TFt),[{fetching:i},a]=qn(OFt),o=w.useCallback(async()=>{let s="Error flagging foreign fee transactions";const l=`${qQ}-fees`,c=`${qQ}-merge`,u=`${qQ}-debit-date`;qe.loading("Flagging Fees",{id:l});try{const f=await t({}),h=Gn(f,s,l);if(!h)return;if(!h.flagForeignFeeTransactions.success){console.error(`${s} ${h.flagForeignFeeTransactions.errors?`:
986
986
  `+h.flagForeignFeeTransactions.errors?.join(`
987
987
  `):""}`),qe.error("Error",{id:l,description:s});return}qe.success("Success",{id:l,description:"Foreign fee transactions were successfully tagged"}),s="Error auto-merging charges",qe.loading("Merging Charges",{id:c});const m=await r({}),p=Gn(m,s,c);if(!p)return;if(!p.mergeChargesByTransactionReference.success){console.error(`${s} ${p.mergeChargesByTransactionReference.errors?`:
988
988
  `+p.mergeChargesByTransactionReference.errors?.join(`