react-luminus-components 2.0.5-beta.r19-14 → 2.0.5-beta.r19-16

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.
@@ -3,11 +3,7 @@ type SettingsFormItem = {
3
3
  id: number | string;
4
4
  name: string | null;
5
5
  description: string | null;
6
- } & ({
7
- type: 'dynamic-form';
8
6
  userCanSelect: boolean;
9
7
  userCanModify: boolean;
10
- } | {
11
- type: 'other';
12
- });
8
+ };
13
9
  export default SettingsFormItem;
@@ -7183,7 +7183,7 @@ const _ye = Ng, Z9 = hn({
7183
7183
  return console.error("Error parsing blob response:", t), [];
7184
7184
  }
7185
7185
  }, Sye = (e, t) => {
7186
- S0(t).forEach((r) => {
7186
+ S0(t.response.data).forEach((r) => {
7187
7187
  e.setError(r.name, {
7188
7188
  message: r.errors,
7189
7189
  type: "server"
@@ -217,7 +217,7 @@ to {
217
217
  > * {
218
218
  pointer-events: auto;
219
219
  }
220
- `,Wu=16,S9=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,toasterId:o,containerStyle:a,containerClassName:s})=>{let{toasts:l,handlers:c}=JR(n,o);return ie.createElement("div",{"data-rht-toaster":o||"",style:{position:"fixed",zIndex:9999,top:Wu,left:Wu,right:Wu,bottom:Wu,pointerEvents:"none",...a},className:s,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(u=>{let d=u.position||t,f=c.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),h=C9(d,f);return ie.createElement(_9,{id:u.id,key:u.id,onHeightUpdate:c.updateHeight,className:u.visible?$9:"",style:h},u.type==="custom"?Fd(u.message,u):i?i(u):ie.createElement(w9,{toast:u,position:d}))}))},Fa=yn;const Qf=m.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var Ng;(function(e){e[e.LOGGING_IN=0]="LOGGING_IN",e[e.LOGGED_IN=1]="LOGGED_IN",e[e.LOGGED_OUT=2]="LOGGED_OUT",e[e.LOGIN_FAILED=3]="LOGIN_FAILED"})(Ng||(Ng={}));const UC=Ng;var Dg;(function(e){e[e.Odebrano=-2]="Odebrano",e[e.Zamitnuto=-1]="Zamitnuto",e[e.Nevyrizeno=0]="Nevyrizeno",e[e.Schvaleno=1]="Schvaleno"})(Dg||(Dg={}));const T9=Dg,HC=m.createContext({user:null,userLoginState:{state:UC.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}}),Jf=m.createContext({useMsal:!1,msalInstance:null,msalScopes:[],msalExtraScopes:[],getToken:async()=>null}),VC=m.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),Bd=e=>e==null?!0:!(typeof e=="object"||typeof e=="function"),qC=e=>{Bd(e)||Object.keys(e).forEach(t=>{const n=e[t];if(Bd(n))return;const r=Object.keys(n);r.includes("id")&&r.length===1&&n.id===null?e[t]=null:qC(n)})},YC=e=>Object.values(e).every(t=>t===null),E9=e=>{const t={};return Object.entries(e).forEach(([n,r])=>{r&&typeof r=="object"&&YC(r)?t[n]=null:t[n]=r}),t},eh=e=>e&&e.errorFields&&e.errorFields.length>0?e.errorFields.map(t=>({name:t.name.split(".").map(r=>`${r.charAt(0).toLowerCase()}${r.slice(1)}`).join("."),errors:t.errors})):[],GC=async e=>{if(e.type==null||!e.type.includes("json"))return[];try{const t=await e.text(),n=JSON.parse(t);return eh(n)}catch(t){return console.error("Error parsing blob response:",t),[]}},k9=(e,t)=>{eh(t).forEach(r=>{e.setError(r.name,{message:r.errors,type:"server"},{shouldFocus:!0}),Bd(e.getValues(r.name))||e.setError(`${r.name}.id`,{message:r.errors,type:"server"},{shouldFocus:!0})})},KC=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t!=null&&t.permissions&&t.permissions.length>0?t.permissions:null},ZC=e=>{const t=Re.c(35);let n,r,i,o,a,s,l,c,u;t[0]!==e?({heading:o,content:r,placement:a,children:n,trigger:u,popoverClassName:s,small:c,delay:i,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=s,t[7]=l,t[8]=c,t[9]=u):(n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],c=t[8],u=t[9]);let d;t[10]!==u?(d=u===void 0?["hover"]:u,t[10]=u,t[11]=d):d=t[11];const f=d;let h;t[12]!==f?(h=f.includes("hover")&&!f.includes("focus")?[...f,"focus"]:f,t[12]=f,t[13]=h):h=t[13];const p=h;let g;t[14]!==s||t[15]!==c?(g=ue("luminus-popover",{"luminus-popover-sm":c},s),t[14]=s,t[15]=c,t[16]=g):g=t[16];let v;t[17]!==o?(v=o&&y.jsx(vd.Header,{children:typeof o=="string"?y.jsx(zn,{variant:"h6",className:"text-primary",children:o}):o}),t[17]=o,t[18]=v):v=t[18];let x;t[19]!==r?(x=y.jsx(vd.Body,{children:r}),t[19]=r,t[20]=x):x=t[20];let _;t[21]!==g||t[22]!==v||t[23]!==x?(_=y.jsxs(vd,{className:g,onClick:O9,children:[v,x]}),t[21]=g,t[22]=v,t[23]=x,t[24]=_):_=t[24];const w=l.controlled?l.isOpen:void 0;let C;t[25]!==l?(C=l.controlled?$=>l.setIsOpen($):void 0,t[25]=l,t[26]=C):C=t[26];let b;return t[27]!==n||t[28]!==i||t[29]!==a||t[30]!==_||t[31]!==w||t[32]!==C||t[33]!==p?(b=y.jsx(EC,{placement:a,overlay:_,trigger:p,rootClose:!0,show:w,onToggle:C,delay:i,children:n}),t[27]=n,t[28]=i,t[29]=a,t[30]=_,t[31]=w,t[32]=C,t[33]=p,t[34]=b):b=t[34],b};function O9(e){return e.stopPropagation()}const M9="_h1_14r4v_1",A9="_h3_14r4v_8",R9="_h6_14r4v_15",j9="_subtitle_14r4v_22",N9="_body_14r4v_29",D9="_body2_14r4v_36",I9="_caption_14r4v_43",P9="_form-label_14r4v_50",Gi={h1:M9,h3:A9,h6:R9,subtitle:j9,body:N9,body2:D9,caption:I9,formLabel:P9},L9=e=>{const t=Re.c(42),{variant:n,className:r,children:i}=e;switch(n){case"h1":{let o;t[0]!==r?(o=ue("luminus-text-primary luminus-h1",Gi.h1,r),t[0]=r,t[1]=o):o=t[1];let a;return t[2]!==i||t[3]!==o?(a=y.jsx("h1",{className:o,children:i}),t[2]=i,t[3]=o,t[4]=a):a=t[4],a}case"h3":{let o;t[5]!==r?(o=ue("luminus-text luminus-h3",Gi.h3,r),t[5]=r,t[6]=o):o=t[6];let a;return t[7]!==i||t[8]!==o?(a=y.jsx("h3",{className:o,children:i}),t[7]=i,t[8]=o,t[9]=a):a=t[9],a}case"h6":{let o;t[10]!==r?(o=ue("luminus-text luminus-h6",Gi.h6,r),t[10]=r,t[11]=o):o=t[11];let a;return t[12]!==i||t[13]!==o?(a=y.jsx("h6",{className:o,children:i}),t[12]=i,t[13]=o,t[14]=a):a=t[14],a}case"subtitle":{let o;t[15]!==r?(o=ue("luminus-text luminus-subtitle",Gi.subtitle,r),t[15]=r,t[16]=o):o=t[16];let a;return t[17]!==i||t[18]!==o?(a=y.jsx("div",{className:o,children:i}),t[17]=i,t[18]=o,t[19]=a):a=t[19],a}case"body":{let o;t[20]!==r?(o=ue("luminus-text luminus-body",Gi.body,r),t[20]=r,t[21]=o):o=t[21];let a;return t[22]!==i||t[23]!==o?(a=y.jsx("div",{className:o,children:i}),t[22]=i,t[23]=o,t[24]=a):a=t[24],a}case"body2":{let o;t[25]!==r?(o=ue("luminus-text luminus-body2",Gi.body2,r),t[25]=r,t[26]=o):o=t[26];let a;return t[27]!==i||t[28]!==o?(a=y.jsx("div",{className:o,children:i}),t[27]=i,t[28]=o,t[29]=a):a=t[29],a}case"caption":{let o;t[30]!==r?(o=ue("luminus-text-muted luminus-caption",Gi.caption,r),t[30]=r,t[31]=o):o=t[31];let a;return t[32]!==i||t[33]!==o?(a=y.jsx("div",{className:o,children:i}),t[32]=i,t[33]=o,t[34]=a):a=t[34],a}case"form-label":{let o;t[35]!==r?(o=ue("luminus-text luminus-form-label",Gi.formLabel,r),t[35]=r,t[36]=o):o=t[36];let a;return t[37]!==i||t[38]!==o?(a=y.jsx("div",{className:o,children:i}),t[37]=i,t[38]=o,t[39]=a):a=t[39],a}default:{let o;return t[40]!==i?(o=y.jsx(y.Fragment,{children:i}),t[40]=i,t[41]=o):o=t[41],o}}},zn=e=>{const t=Re.c(4),{variant:n,className:r,children:i}=e;let o;return t[0]!==i||t[1]!==r||t[2]!==n?(o=y.jsx(L9,{variant:n,className:r,children:i}),t[0]=i,t[1]=r,t[2]=n,t[3]=o):o=t[3],o},O0=e=>{const t=Re.c(7),{text:n,placement:r,children:i,delay:o}=e;let a;t[0]!==n?(a=y.jsx(zn,{variant:"body2",className:"text-center",children:n}),t[0]=n,t[1]=a):a=t[1];let s;return t[2]!==i||t[3]!==o||t[4]!==r||t[5]!==a?(s=y.jsx(ZC,{content:a,placement:r,delay:o,small:!0,children:i}),t[2]=i,t[3]=o,t[4]=r,t[5]=a,t[6]=s):s=t[6],s},XC=e=>e.length<300?e:e.substring(0,300)+"...",ws=e=>e<1024?`${e.toFixed(2)} bytes`:e>=1024&&e<1048576?`${(e/1024).toFixed(1)} kB`:`${(e/1048576).toFixed(1)} MB`;function M0(e=" ",...t){return t.filter(n=>n!=null&&n.length>0).join(e)}const Ig=(e,t)=>e.map(n=>`&${t}=${n}`).join("").substring(1),F9=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function B9(e){return e==null?"":Qv(Ff(e),"dd.MM.yyyy")}function th(e){return(e==null?void 0:e.toString().split("T")[0])??""}function z9(e){return e==null?"":Qv(Ff(e),"dd.MM.yyyy HH:mm")}function W9(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}const U9=(e,t)=>M0(" ",e?`${e},`:void 0,t),H9=(e,t)=>`${t}${e!=null?` (${e})`:""}`,V9=(e,t)=>`[${e??""}] ${t??""}`,QC=e=>decodeURIComponent(atob(e).split("").map(t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)).join("")),JC=e=>{const t=Ff(e);return!Number.isNaN(t.getTime())};function q9(){const e=new Date,t=new Date(e);return t.setHours(24,0,0,0),t.getTime()-e.getTime()}function Y9(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function G9(e,t){const n=new Date(e),r=new Date(t);return n.setHours(0,0,0,0),r.setHours(0,0,0,0),n.getTime()-r.getTime()}function K9(e,t){const n=new Date(e),r=new Date(t);return n.getTime()-r.getTime()}function Z9(e=Date.now(),t=Date.now()){const n=new Date(e),r=new Date(t);n.setHours(10,0,0,0),r.setHours(0,0,0,0);const i=n.getTime()-r.getTime();return Math.floor(i/(1e3*3600*24))}function e$(e=new Date){const t=new Date(e);return t.setUTCDate(1),t}function t$(e=new Date){return AO(e)}function X9(e){const t=new Date;return t.setUTCMonth(t.getUTCMonth()+e),e$(t)}function Q9(e){const t=new Date;return t.setUTCMonth(t.getUTCMonth()+e),t$(t)}function J9(e){const t=e??new Date().getFullYear(),n=new Date(t,0,1);return n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n}function ej(e){const t=e??new Date().getFullYear(),n=new Date(t,11,31);return n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n}function tj(e){return th(e.toISOString())}function n$(e){const t=/filename\*?=(?:UTF-8''|")?(.*?)(?:''|")?(?:;|$)/i,n=e.match(t);if(n&&n[1]){let r=n[1];const i=/=\?([^?]+)\?([BbQq])\?([^?]+)\?=/,o=r.match(i);if(o){const a=o[2].toUpperCase(),s=o[3];try{return a==="B"?r=QC(s):a==="Q"&&(r=s.replace(/_/g," ").replace(/=([A-Fa-f0-9]{2})/g,(l,c)=>String.fromCharCode(parseInt(c,16)))),decodeURIComponent(r)}catch(l){return console.error("Error decoding MIME encoded filename:",l),r}}try{return decodeURIComponent(r)}catch(a){return console.error("Error decoding filename:",a),r}}return null}function zd(e,t,n=!0){const r=URL.createObjectURL(e),i=document.createElement("a");i.href=r,i.setAttribute("style","display: none"),n?(window.open(r,"_blank","noopener,noreferrer"),setTimeout(()=>URL.revokeObjectURL(r),6e4)):(i.setAttribute("download",t),document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r))}const nj=["application/pdf","text/plain","text/html","application/xml","text/xml","image/jpeg","image/png","image/gif","image/webp","image/svg+xml","image/bmp","image/x-icon","audio/mpeg","audio/wav","audio/ogg","audio/mp4","video/mp4","video/webm","video/ogg"],rj=["pdf","txt","html","xml","jpg","jpeg","png","gif","webp","svg","bmp","ico","mp3","wav","ogg","m4a","mp4","webm","ogv"],r$=e=>nj.includes(e.type),i$=e=>rj.includes(e.toLowerCase());function ij(e,t){let n=(t==null?void 0:t.forcedName)??(t==null?void 0:t.fallbackName)??"file";if((t==null?void 0:t.forcedName)===void 0&&typeof e.headers.get=="function"){const o=e.headers.get("Content-disposition");typeof o=="string"&&o.length>0&&(n=n$(e.headers.get("Content-disposition"))??n)}const r=r$(e.data),i=(t==null?void 0:t.tryToOpen)===void 0?localStorage.getItem("file-download-try-opening")!=="false":t.tryToOpen;zd(e.data,n,r?i:!1)}function _s(e,t=_s.characters){return e.replace(/[^A-Za-z0-9]/g,function(n){return t[n]||n})}_s.characters={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A","Ⱥ":"A",Ã:"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ: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:"z","ⱬ":"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z","ᵶ":"z","ᶎ":"z",ʐ:"z",ƶ:"z","ɀ":"z",þ:"th",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x",Ё:"YO",Й:"I",Ц:"TS",У:"U",К:"K",Е:"E",Н:"N",Г:"G",Ґ:"G",Ш:"SH",Щ:"SCH",З:"Z",Х:"H",Ъ:"'",ё:"yo",й:"i",ц:"ts",у:"u",к:"k",е:"e",н:"n",г:"g",ґ:"g",ш:"sh",щ:"sch",з:"z",х:"h",ъ:"'",Ф:"F",Ы:"I",В:"V",А:"a",П:"P",Р:"R",О:"O",Л:"L",Д:"D",Ж:"ZH",Э:"E",ф:"f",ы:"i",в:"v",а:"a",п:"p",р:"r",о:"o",л:"l",д:"d",ж:"zh",э:"e",Я:"Ya",Ч:"CH",С:"S",М:"M",И:"I",Т:"T",Ь:"'",Б:"B",Ю:"YU",я:"ya",ч:"ch",с:"s",м:"m",и:"i",т:"t",ь:"'",б:"b",ю:"yu"};const Pg=(e,t)=>t?e?_s(e).toLowerCase().includes(_s(t.toLowerCase())):!1:!0,o$=(e,t)=>t?e?_s(e).toLowerCase().startsWith(_s(t.toLowerCase())):!1:!0,A0=(e,t,n)=>{const r=localStorage.getItem("search-use-asterisk")!=="false",i=n!=null&&n.trimSpaces?t==null?void 0:t.replaceAll(" ",""):t,o=n!=null&&n.trimSpaces?e==null?void 0:e.replaceAll(" ",""):e;return i?r?i.startsWith("*")?Pg(o,i.substring(1)):o$(o,i):Pg(o,i):!0};function a$(e,t){return function(){return e.apply(t,arguments)}}const{toString:oj}=Object.prototype,{getPrototypeOf:R0}=Object,{iterator:nh,toStringTag:s$}=Symbol,rh=(e=>t=>{const n=oj.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fr=e=>(e=e.toLowerCase(),t=>rh(t)===e),ih=e=>t=>typeof t===e,{isArray:Ws}=Array,Cs=ih("undefined");function eu(e){return e!==null&&!Cs(e)&&e.constructor!==null&&!Cs(e.constructor)&&er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const l$=Fr("ArrayBuffer");function aj(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&l$(e.buffer),t}const sj=ih("string"),er=ih("function"),c$=ih("number"),tu=e=>e!==null&&typeof e=="object",lj=e=>e===!0||e===!1,yd=e=>{if(rh(e)!=="object")return!1;const t=R0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(s$ in e)&&!(nh in e)},cj=e=>{if(!tu(e)||eu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},uj=Fr("Date"),dj=Fr("File"),fj=Fr("Blob"),hj=Fr("FileList"),pj=e=>tu(e)&&er(e.pipe),mj=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||er(e.append)&&((t=rh(e))==="formdata"||t==="object"&&er(e.toString)&&e.toString()==="[object FormData]"))},gj=Fr("URLSearchParams"),[vj,bj,yj,xj]=["ReadableStream","Request","Response","Headers"].map(Fr),wj=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function nu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ws(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(eu(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function u$(e,t){if(eu(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d$=e=>!Cs(e)&&e!==qo;function Lg(){const{caseless:e,skipUndefined:t}=d$(this)&&this||{},n={},r=(i,o)=>{const a=e&&u$(n,o)||o;yd(n[a])&&yd(i)?n[a]=Lg(n[a],i):yd(i)?n[a]=Lg({},i):Ws(i)?n[a]=i.slice():(!t||!Cs(i))&&(n[a]=i)};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&nu(arguments[i],r);return n}const _j=(e,t,n,{allOwnKeys:r}={})=>(nu(t,(i,o)=>{n&&er(i)?e[o]=a$(i,n):e[o]=i},{allOwnKeys:r}),e),Cj=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$j=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Sj=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&R0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Tj=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ej=e=>{if(!e)return null;if(Ws(e))return e;let t=e.length;if(!c$(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kj=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&R0(Uint8Array)),Oj=(e,t)=>{const r=(e&&e[nh]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Mj=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Aj=Fr("HTMLFormElement"),Rj=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ax=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),jj=Fr("RegExp"),f$=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};nu(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Nj=e=>{f$(e,(t,n)=>{if(er(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(er(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Dj=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Ws(e)?r(e):r(String(e).split(t)),n},Ij=()=>{},Pj=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Lj(e){return!!(e&&er(e.append)&&e[s$]==="FormData"&&e[nh])}const Fj=e=>{const t=new Array(10),n=(r,i)=>{if(tu(r)){if(t.indexOf(r)>=0)return;if(eu(r))return r;if(!("toJSON"in r)){t[i]=r;const o=Ws(r)?[]:{};return nu(r,(a,s)=>{const l=n(a,i+1);!Cs(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Bj=Fr("AsyncFunction"),zj=e=>e&&(tu(e)||er(e))&&er(e.then)&&er(e.catch),h$=((e,t)=>e?setImmediate:t?((n,r)=>(qo.addEventListener("message",({source:i,data:o})=>{i===qo&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),qo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",er(qo.postMessage)),Wj=typeof queueMicrotask<"u"?queueMicrotask.bind(qo):typeof process<"u"&&process.nextTick||h$,Uj=e=>e!=null&&er(e[nh]),oe={isArray:Ws,isArrayBuffer:l$,isBuffer:eu,isFormData:mj,isArrayBufferView:aj,isString:sj,isNumber:c$,isBoolean:lj,isObject:tu,isPlainObject:yd,isEmptyObject:cj,isReadableStream:vj,isRequest:bj,isResponse:yj,isHeaders:xj,isUndefined:Cs,isDate:uj,isFile:dj,isBlob:fj,isRegExp:jj,isFunction:er,isStream:pj,isURLSearchParams:gj,isTypedArray:kj,isFileList:hj,forEach:nu,merge:Lg,extend:_j,trim:wj,stripBOM:Cj,inherits:$j,toFlatObject:Sj,kindOf:rh,kindOfTest:Fr,endsWith:Tj,toArray:Ej,forEachEntry:Oj,matchAll:Mj,isHTMLForm:Aj,hasOwnProperty:ax,hasOwnProp:ax,reduceDescriptors:f$,freezeMethods:Nj,toObjectSet:Dj,toCamelCase:Rj,noop:Ij,toFiniteNumber:Pj,findKey:u$,global:qo,isContextDefined:d$,isSpecCompliantForm:Lj,toJSONObject:Fj,isAsyncFn:Bj,isThenable:zj,setImmediate:h$,asap:Wj,isIterable:Uj};function it(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}oe.inherits(it,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const p$=it.prototype,m$={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{m$[e]={value:e}});Object.defineProperties(it,m$);Object.defineProperty(p$,"isAxiosError",{value:!0});it.from=(e,t,n,r,i,o)=>{const a=Object.create(p$);oe.toFlatObject(e,a,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const s=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return it.call(a,s,l,n,r,i),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",o&&Object.assign(a,o),a};const Hj=null;function Fg(e){return oe.isPlainObject(e)||oe.isArray(e)}function g$(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function sx(e,t,n){return e?e.concat(t).map(function(i,o){return i=g$(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Vj(e){return oe.isArray(e)&&!e.some(Fg)}const qj=oe.toFlatObject(oe,{},null,function(t){return/^is[A-Z]/.test(t)});function oh(e,t,n){if(!oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!oe.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(t);if(!oe.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(oe.isDate(p))return p.toISOString();if(oe.isBoolean(p))return p.toString();if(!l&&oe.isBlob(p))throw new it("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(p)||oe.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,v){let x=p;if(p&&!v&&typeof p=="object"){if(oe.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(oe.isArray(p)&&Vj(p)||(oe.isFileList(p)||oe.endsWith(g,"[]"))&&(x=oe.toArray(p)))return g=g$(g),x.forEach(function(w,C){!(oe.isUndefined(w)||w===null)&&t.append(a===!0?sx([g],C,o):a===null?g:g+"[]",c(w))}),!1}return Fg(p)?!0:(t.append(sx(v,g,o),c(p)),!1)}const d=[],f=Object.assign(qj,{defaultVisitor:u,convertValue:c,isVisitable:Fg});function h(p,g){if(!oe.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(p),oe.forEach(p,function(x,_){(!(oe.isUndefined(x)||x===null)&&i.call(t,x,oe.isString(_)?_.trim():_,g,f))===!0&&h(x,g?g.concat(_):[_])}),d.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return h(e),t}function lx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function j0(e,t){this._pairs=[],e&&oh(e,this,t)}const v$=j0.prototype;v$.append=function(t,n){this._pairs.push([t,n])};v$.toString=function(t){const n=t?function(r){return t.call(this,r,lx)}:lx;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Yj(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function b$(e,t,n){if(!t)return e;const r=n&&n.encode||Yj;oe.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=oe.isURLSearchParams(t)?t.toString():new j0(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class cx{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){oe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const y$={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gj=typeof URLSearchParams<"u"?URLSearchParams:j0,Kj=typeof FormData<"u"?FormData:null,Zj=typeof Blob<"u"?Blob:null,Xj={isBrowser:!0,classes:{URLSearchParams:Gj,FormData:Kj,Blob:Zj},protocols:["http","https","file","blob","url","data"]},N0=typeof window<"u"&&typeof document<"u",Bg=typeof navigator=="object"&&navigator||void 0,Qj=N0&&(!Bg||["ReactNative","NativeScript","NS"].indexOf(Bg.product)<0),Jj=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",eN=N0&&window.location.href||"http://localhost",tN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:N0,hasStandardBrowserEnv:Qj,hasStandardBrowserWebWorkerEnv:Jj,navigator:Bg,origin:eN},Symbol.toStringTag,{value:"Module"})),jn={...tN,...Xj};function nN(e,t){return oh(e,new jn.classes.URLSearchParams,{visitor:function(n,r,i,o){return jn.isNode&&oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function rN(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iN(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function x$(e){function t(n,r,i,o){let a=n[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&oe.isArray(i)?i.length:a,l?(oe.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!oe.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&oe.isArray(i[a])&&(i[a]=iN(i[a])),!s)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,i)=>{t(rN(r),i,n,0)}),n}return null}function oN(e,t,n){if(oe.isString(e))try{return(t||JSON.parse)(e),oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ru={transitional:y$,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=oe.isObject(t);if(o&&oe.isHTMLForm(t)&&(t=new FormData(t)),oe.isFormData(t))return i?JSON.stringify(x$(t)):t;if(oe.isArrayBuffer(t)||oe.isBuffer(t)||oe.isStream(t)||oe.isFile(t)||oe.isBlob(t)||oe.isReadableStream(t))return t;if(oe.isArrayBufferView(t))return t.buffer;if(oe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nN(t,this.formSerializer).toString();if((s=oe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return oh(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),oN(t)):t}],transformResponse:[function(t){const n=this.transitional||ru.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(oe.isResponse(t)||oe.isReadableStream(t))return t;if(t&&oe.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(s){if(a)throw s.name==="SyntaxError"?it.from(s,it.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jn.classes.FormData,Blob:jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{ru.headers[e]={}});const aN=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sN=e=>{const t={};let n,r,i;return e&&e.split(`
220
+ `,Wu=16,S9=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,toasterId:o,containerStyle:a,containerClassName:s})=>{let{toasts:l,handlers:c}=JR(n,o);return ie.createElement("div",{"data-rht-toaster":o||"",style:{position:"fixed",zIndex:9999,top:Wu,left:Wu,right:Wu,bottom:Wu,pointerEvents:"none",...a},className:s,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(u=>{let d=u.position||t,f=c.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),h=C9(d,f);return ie.createElement(_9,{id:u.id,key:u.id,onHeightUpdate:c.updateHeight,className:u.visible?$9:"",style:h},u.type==="custom"?Fd(u.message,u):i?i(u):ie.createElement(w9,{toast:u,position:d}))}))},Fa=yn;const Qf=m.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var Ng;(function(e){e[e.LOGGING_IN=0]="LOGGING_IN",e[e.LOGGED_IN=1]="LOGGED_IN",e[e.LOGGED_OUT=2]="LOGGED_OUT",e[e.LOGIN_FAILED=3]="LOGIN_FAILED"})(Ng||(Ng={}));const UC=Ng;var Dg;(function(e){e[e.Odebrano=-2]="Odebrano",e[e.Zamitnuto=-1]="Zamitnuto",e[e.Nevyrizeno=0]="Nevyrizeno",e[e.Schvaleno=1]="Schvaleno"})(Dg||(Dg={}));const T9=Dg,HC=m.createContext({user:null,userLoginState:{state:UC.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}}),Jf=m.createContext({useMsal:!1,msalInstance:null,msalScopes:[],msalExtraScopes:[],getToken:async()=>null}),VC=m.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),Bd=e=>e==null?!0:!(typeof e=="object"||typeof e=="function"),qC=e=>{Bd(e)||Object.keys(e).forEach(t=>{const n=e[t];if(Bd(n))return;const r=Object.keys(n);r.includes("id")&&r.length===1&&n.id===null?e[t]=null:qC(n)})},YC=e=>Object.values(e).every(t=>t===null),E9=e=>{const t={};return Object.entries(e).forEach(([n,r])=>{r&&typeof r=="object"&&YC(r)?t[n]=null:t[n]=r}),t},eh=e=>e&&e.errorFields&&e.errorFields.length>0?e.errorFields.map(t=>({name:t.name.split(".").map(r=>`${r.charAt(0).toLowerCase()}${r.slice(1)}`).join("."),errors:t.errors})):[],GC=async e=>{if(e.type==null||!e.type.includes("json"))return[];try{const t=await e.text(),n=JSON.parse(t);return eh(n)}catch(t){return console.error("Error parsing blob response:",t),[]}},k9=(e,t)=>{eh(t.response.data).forEach(r=>{e.setError(r.name,{message:r.errors,type:"server"},{shouldFocus:!0}),Bd(e.getValues(r.name))||e.setError(`${r.name}.id`,{message:r.errors,type:"server"},{shouldFocus:!0})})},KC=e=>{var n;const t=(n=e.response)==null?void 0:n.data;return t!=null&&t.permissions&&t.permissions.length>0?t.permissions:null},ZC=e=>{const t=Re.c(35);let n,r,i,o,a,s,l,c,u;t[0]!==e?({heading:o,content:r,placement:a,children:n,trigger:u,popoverClassName:s,small:c,delay:i,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=s,t[7]=l,t[8]=c,t[9]=u):(n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],c=t[8],u=t[9]);let d;t[10]!==u?(d=u===void 0?["hover"]:u,t[10]=u,t[11]=d):d=t[11];const f=d;let h;t[12]!==f?(h=f.includes("hover")&&!f.includes("focus")?[...f,"focus"]:f,t[12]=f,t[13]=h):h=t[13];const p=h;let g;t[14]!==s||t[15]!==c?(g=ue("luminus-popover",{"luminus-popover-sm":c},s),t[14]=s,t[15]=c,t[16]=g):g=t[16];let v;t[17]!==o?(v=o&&y.jsx(vd.Header,{children:typeof o=="string"?y.jsx(zn,{variant:"h6",className:"text-primary",children:o}):o}),t[17]=o,t[18]=v):v=t[18];let x;t[19]!==r?(x=y.jsx(vd.Body,{children:r}),t[19]=r,t[20]=x):x=t[20];let _;t[21]!==g||t[22]!==v||t[23]!==x?(_=y.jsxs(vd,{className:g,onClick:O9,children:[v,x]}),t[21]=g,t[22]=v,t[23]=x,t[24]=_):_=t[24];const w=l.controlled?l.isOpen:void 0;let C;t[25]!==l?(C=l.controlled?$=>l.setIsOpen($):void 0,t[25]=l,t[26]=C):C=t[26];let b;return t[27]!==n||t[28]!==i||t[29]!==a||t[30]!==_||t[31]!==w||t[32]!==C||t[33]!==p?(b=y.jsx(EC,{placement:a,overlay:_,trigger:p,rootClose:!0,show:w,onToggle:C,delay:i,children:n}),t[27]=n,t[28]=i,t[29]=a,t[30]=_,t[31]=w,t[32]=C,t[33]=p,t[34]=b):b=t[34],b};function O9(e){return e.stopPropagation()}const M9="_h1_14r4v_1",A9="_h3_14r4v_8",R9="_h6_14r4v_15",j9="_subtitle_14r4v_22",N9="_body_14r4v_29",D9="_body2_14r4v_36",I9="_caption_14r4v_43",P9="_form-label_14r4v_50",Gi={h1:M9,h3:A9,h6:R9,subtitle:j9,body:N9,body2:D9,caption:I9,formLabel:P9},L9=e=>{const t=Re.c(42),{variant:n,className:r,children:i}=e;switch(n){case"h1":{let o;t[0]!==r?(o=ue("luminus-text-primary luminus-h1",Gi.h1,r),t[0]=r,t[1]=o):o=t[1];let a;return t[2]!==i||t[3]!==o?(a=y.jsx("h1",{className:o,children:i}),t[2]=i,t[3]=o,t[4]=a):a=t[4],a}case"h3":{let o;t[5]!==r?(o=ue("luminus-text luminus-h3",Gi.h3,r),t[5]=r,t[6]=o):o=t[6];let a;return t[7]!==i||t[8]!==o?(a=y.jsx("h3",{className:o,children:i}),t[7]=i,t[8]=o,t[9]=a):a=t[9],a}case"h6":{let o;t[10]!==r?(o=ue("luminus-text luminus-h6",Gi.h6,r),t[10]=r,t[11]=o):o=t[11];let a;return t[12]!==i||t[13]!==o?(a=y.jsx("h6",{className:o,children:i}),t[12]=i,t[13]=o,t[14]=a):a=t[14],a}case"subtitle":{let o;t[15]!==r?(o=ue("luminus-text luminus-subtitle",Gi.subtitle,r),t[15]=r,t[16]=o):o=t[16];let a;return t[17]!==i||t[18]!==o?(a=y.jsx("div",{className:o,children:i}),t[17]=i,t[18]=o,t[19]=a):a=t[19],a}case"body":{let o;t[20]!==r?(o=ue("luminus-text luminus-body",Gi.body,r),t[20]=r,t[21]=o):o=t[21];let a;return t[22]!==i||t[23]!==o?(a=y.jsx("div",{className:o,children:i}),t[22]=i,t[23]=o,t[24]=a):a=t[24],a}case"body2":{let o;t[25]!==r?(o=ue("luminus-text luminus-body2",Gi.body2,r),t[25]=r,t[26]=o):o=t[26];let a;return t[27]!==i||t[28]!==o?(a=y.jsx("div",{className:o,children:i}),t[27]=i,t[28]=o,t[29]=a):a=t[29],a}case"caption":{let o;t[30]!==r?(o=ue("luminus-text-muted luminus-caption",Gi.caption,r),t[30]=r,t[31]=o):o=t[31];let a;return t[32]!==i||t[33]!==o?(a=y.jsx("div",{className:o,children:i}),t[32]=i,t[33]=o,t[34]=a):a=t[34],a}case"form-label":{let o;t[35]!==r?(o=ue("luminus-text luminus-form-label",Gi.formLabel,r),t[35]=r,t[36]=o):o=t[36];let a;return t[37]!==i||t[38]!==o?(a=y.jsx("div",{className:o,children:i}),t[37]=i,t[38]=o,t[39]=a):a=t[39],a}default:{let o;return t[40]!==i?(o=y.jsx(y.Fragment,{children:i}),t[40]=i,t[41]=o):o=t[41],o}}},zn=e=>{const t=Re.c(4),{variant:n,className:r,children:i}=e;let o;return t[0]!==i||t[1]!==r||t[2]!==n?(o=y.jsx(L9,{variant:n,className:r,children:i}),t[0]=i,t[1]=r,t[2]=n,t[3]=o):o=t[3],o},O0=e=>{const t=Re.c(7),{text:n,placement:r,children:i,delay:o}=e;let a;t[0]!==n?(a=y.jsx(zn,{variant:"body2",className:"text-center",children:n}),t[0]=n,t[1]=a):a=t[1];let s;return t[2]!==i||t[3]!==o||t[4]!==r||t[5]!==a?(s=y.jsx(ZC,{content:a,placement:r,delay:o,small:!0,children:i}),t[2]=i,t[3]=o,t[4]=r,t[5]=a,t[6]=s):s=t[6],s},XC=e=>e.length<300?e:e.substring(0,300)+"...",ws=e=>e<1024?`${e.toFixed(2)} bytes`:e>=1024&&e<1048576?`${(e/1024).toFixed(1)} kB`:`${(e/1048576).toFixed(1)} MB`;function M0(e=" ",...t){return t.filter(n=>n!=null&&n.length>0).join(e)}const Ig=(e,t)=>e.map(n=>`&${t}=${n}`).join("").substring(1),F9=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function B9(e){return e==null?"":Qv(Ff(e),"dd.MM.yyyy")}function th(e){return(e==null?void 0:e.toString().split("T")[0])??""}function z9(e){return e==null?"":Qv(Ff(e),"dd.MM.yyyy HH:mm")}function W9(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}const U9=(e,t)=>M0(" ",e?`${e},`:void 0,t),H9=(e,t)=>`${t}${e!=null?` (${e})`:""}`,V9=(e,t)=>`[${e??""}] ${t??""}`,QC=e=>decodeURIComponent(atob(e).split("").map(t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)).join("")),JC=e=>{const t=Ff(e);return!Number.isNaN(t.getTime())};function q9(){const e=new Date,t=new Date(e);return t.setHours(24,0,0,0),t.getTime()-e.getTime()}function Y9(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function G9(e,t){const n=new Date(e),r=new Date(t);return n.setHours(0,0,0,0),r.setHours(0,0,0,0),n.getTime()-r.getTime()}function K9(e,t){const n=new Date(e),r=new Date(t);return n.getTime()-r.getTime()}function Z9(e=Date.now(),t=Date.now()){const n=new Date(e),r=new Date(t);n.setHours(10,0,0,0),r.setHours(0,0,0,0);const i=n.getTime()-r.getTime();return Math.floor(i/(1e3*3600*24))}function e$(e=new Date){const t=new Date(e);return t.setUTCDate(1),t}function t$(e=new Date){return AO(e)}function X9(e){const t=new Date;return t.setUTCMonth(t.getUTCMonth()+e),e$(t)}function Q9(e){const t=new Date;return t.setUTCMonth(t.getUTCMonth()+e),t$(t)}function J9(e){const t=e??new Date().getFullYear(),n=new Date(t,0,1);return n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n}function ej(e){const t=e??new Date().getFullYear(),n=new Date(t,11,31);return n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n}function tj(e){return th(e.toISOString())}function n$(e){const t=/filename\*?=(?:UTF-8''|")?(.*?)(?:''|")?(?:;|$)/i,n=e.match(t);if(n&&n[1]){let r=n[1];const i=/=\?([^?]+)\?([BbQq])\?([^?]+)\?=/,o=r.match(i);if(o){const a=o[2].toUpperCase(),s=o[3];try{return a==="B"?r=QC(s):a==="Q"&&(r=s.replace(/_/g," ").replace(/=([A-Fa-f0-9]{2})/g,(l,c)=>String.fromCharCode(parseInt(c,16)))),decodeURIComponent(r)}catch(l){return console.error("Error decoding MIME encoded filename:",l),r}}try{return decodeURIComponent(r)}catch(a){return console.error("Error decoding filename:",a),r}}return null}function zd(e,t,n=!0){const r=URL.createObjectURL(e),i=document.createElement("a");i.href=r,i.setAttribute("style","display: none"),n?(window.open(r,"_blank","noopener,noreferrer"),setTimeout(()=>URL.revokeObjectURL(r),6e4)):(i.setAttribute("download",t),document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r))}const nj=["application/pdf","text/plain","text/html","application/xml","text/xml","image/jpeg","image/png","image/gif","image/webp","image/svg+xml","image/bmp","image/x-icon","audio/mpeg","audio/wav","audio/ogg","audio/mp4","video/mp4","video/webm","video/ogg"],rj=["pdf","txt","html","xml","jpg","jpeg","png","gif","webp","svg","bmp","ico","mp3","wav","ogg","m4a","mp4","webm","ogv"],r$=e=>nj.includes(e.type),i$=e=>rj.includes(e.toLowerCase());function ij(e,t){let n=(t==null?void 0:t.forcedName)??(t==null?void 0:t.fallbackName)??"file";if((t==null?void 0:t.forcedName)===void 0&&typeof e.headers.get=="function"){const o=e.headers.get("Content-disposition");typeof o=="string"&&o.length>0&&(n=n$(e.headers.get("Content-disposition"))??n)}const r=r$(e.data),i=(t==null?void 0:t.tryToOpen)===void 0?localStorage.getItem("file-download-try-opening")!=="false":t.tryToOpen;zd(e.data,n,r?i:!1)}function _s(e,t=_s.characters){return e.replace(/[^A-Za-z0-9]/g,function(n){return t[n]||n})}_s.characters={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"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ṿ:"v",ʋ:"v","ᶌ":"v","ⱱ":"v",ṽ:"v","ꝡ":"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w","ⱳ":"w",ẘ:"w",ẍ:"x",ẋ:"x","ᶍ":"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y","ỿ":"y",ȳ:"y",ẙ:"y","ɏ":"y",ỹ:"y",ї:"yi",ź:"z",ž:"z",ẑ:"z",ʑ:"z","ⱬ":"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z","ᵶ":"z","ᶎ":"z",ʐ:"z",ƶ:"z","ɀ":"z",þ:"th",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x",Ё:"YO",Й:"I",Ц:"TS",У:"U",К:"K",Е:"E",Н:"N",Г:"G",Ґ:"G",Ш:"SH",Щ:"SCH",З:"Z",Х:"H",Ъ:"'",ё:"yo",й:"i",ц:"ts",у:"u",к:"k",е:"e",н:"n",г:"g",ґ:"g",ш:"sh",щ:"sch",з:"z",х:"h",ъ:"'",Ф:"F",Ы:"I",В:"V",А:"a",П:"P",Р:"R",О:"O",Л:"L",Д:"D",Ж:"ZH",Э:"E",ф:"f",ы:"i",в:"v",а:"a",п:"p",р:"r",о:"o",л:"l",д:"d",ж:"zh",э:"e",Я:"Ya",Ч:"CH",С:"S",М:"M",И:"I",Т:"T",Ь:"'",Б:"B",Ю:"YU",я:"ya",ч:"ch",с:"s",м:"m",и:"i",т:"t",ь:"'",б:"b",ю:"yu"};const Pg=(e,t)=>t?e?_s(e).toLowerCase().includes(_s(t.toLowerCase())):!1:!0,o$=(e,t)=>t?e?_s(e).toLowerCase().startsWith(_s(t.toLowerCase())):!1:!0,A0=(e,t,n)=>{const r=localStorage.getItem("search-use-asterisk")!=="false",i=n!=null&&n.trimSpaces?t==null?void 0:t.replaceAll(" ",""):t,o=n!=null&&n.trimSpaces?e==null?void 0:e.replaceAll(" ",""):e;return i?r?i.startsWith("*")?Pg(o,i.substring(1)):o$(o,i):Pg(o,i):!0};function a$(e,t){return function(){return e.apply(t,arguments)}}const{toString:oj}=Object.prototype,{getPrototypeOf:R0}=Object,{iterator:nh,toStringTag:s$}=Symbol,rh=(e=>t=>{const n=oj.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fr=e=>(e=e.toLowerCase(),t=>rh(t)===e),ih=e=>t=>typeof t===e,{isArray:Ws}=Array,Cs=ih("undefined");function eu(e){return e!==null&&!Cs(e)&&e.constructor!==null&&!Cs(e.constructor)&&er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const l$=Fr("ArrayBuffer");function aj(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&l$(e.buffer),t}const sj=ih("string"),er=ih("function"),c$=ih("number"),tu=e=>e!==null&&typeof e=="object",lj=e=>e===!0||e===!1,yd=e=>{if(rh(e)!=="object")return!1;const t=R0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(s$ in e)&&!(nh in e)},cj=e=>{if(!tu(e)||eu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},uj=Fr("Date"),dj=Fr("File"),fj=Fr("Blob"),hj=Fr("FileList"),pj=e=>tu(e)&&er(e.pipe),mj=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||er(e.append)&&((t=rh(e))==="formdata"||t==="object"&&er(e.toString)&&e.toString()==="[object FormData]"))},gj=Fr("URLSearchParams"),[vj,bj,yj,xj]=["ReadableStream","Request","Response","Headers"].map(Fr),wj=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function nu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ws(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(eu(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function u$(e,t){if(eu(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d$=e=>!Cs(e)&&e!==qo;function Lg(){const{caseless:e,skipUndefined:t}=d$(this)&&this||{},n={},r=(i,o)=>{const a=e&&u$(n,o)||o;yd(n[a])&&yd(i)?n[a]=Lg(n[a],i):yd(i)?n[a]=Lg({},i):Ws(i)?n[a]=i.slice():(!t||!Cs(i))&&(n[a]=i)};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&nu(arguments[i],r);return n}const _j=(e,t,n,{allOwnKeys:r}={})=>(nu(t,(i,o)=>{n&&er(i)?e[o]=a$(i,n):e[o]=i},{allOwnKeys:r}),e),Cj=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$j=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Sj=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&R0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Tj=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ej=e=>{if(!e)return null;if(Ws(e))return e;let t=e.length;if(!c$(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kj=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&R0(Uint8Array)),Oj=(e,t)=>{const r=(e&&e[nh]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Mj=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Aj=Fr("HTMLFormElement"),Rj=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ax=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),jj=Fr("RegExp"),f$=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};nu(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Nj=e=>{f$(e,(t,n)=>{if(er(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(er(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Dj=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Ws(e)?r(e):r(String(e).split(t)),n},Ij=()=>{},Pj=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Lj(e){return!!(e&&er(e.append)&&e[s$]==="FormData"&&e[nh])}const Fj=e=>{const t=new Array(10),n=(r,i)=>{if(tu(r)){if(t.indexOf(r)>=0)return;if(eu(r))return r;if(!("toJSON"in r)){t[i]=r;const o=Ws(r)?[]:{};return nu(r,(a,s)=>{const l=n(a,i+1);!Cs(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Bj=Fr("AsyncFunction"),zj=e=>e&&(tu(e)||er(e))&&er(e.then)&&er(e.catch),h$=((e,t)=>e?setImmediate:t?((n,r)=>(qo.addEventListener("message",({source:i,data:o})=>{i===qo&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),qo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",er(qo.postMessage)),Wj=typeof queueMicrotask<"u"?queueMicrotask.bind(qo):typeof process<"u"&&process.nextTick||h$,Uj=e=>e!=null&&er(e[nh]),oe={isArray:Ws,isArrayBuffer:l$,isBuffer:eu,isFormData:mj,isArrayBufferView:aj,isString:sj,isNumber:c$,isBoolean:lj,isObject:tu,isPlainObject:yd,isEmptyObject:cj,isReadableStream:vj,isRequest:bj,isResponse:yj,isHeaders:xj,isUndefined:Cs,isDate:uj,isFile:dj,isBlob:fj,isRegExp:jj,isFunction:er,isStream:pj,isURLSearchParams:gj,isTypedArray:kj,isFileList:hj,forEach:nu,merge:Lg,extend:_j,trim:wj,stripBOM:Cj,inherits:$j,toFlatObject:Sj,kindOf:rh,kindOfTest:Fr,endsWith:Tj,toArray:Ej,forEachEntry:Oj,matchAll:Mj,isHTMLForm:Aj,hasOwnProperty:ax,hasOwnProp:ax,reduceDescriptors:f$,freezeMethods:Nj,toObjectSet:Dj,toCamelCase:Rj,noop:Ij,toFiniteNumber:Pj,findKey:u$,global:qo,isContextDefined:d$,isSpecCompliantForm:Lj,toJSONObject:Fj,isAsyncFn:Bj,isThenable:zj,setImmediate:h$,asap:Wj,isIterable:Uj};function it(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}oe.inherits(it,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const p$=it.prototype,m$={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{m$[e]={value:e}});Object.defineProperties(it,m$);Object.defineProperty(p$,"isAxiosError",{value:!0});it.from=(e,t,n,r,i,o)=>{const a=Object.create(p$);oe.toFlatObject(e,a,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const s=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return it.call(a,s,l,n,r,i),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",o&&Object.assign(a,o),a};const Hj=null;function Fg(e){return oe.isPlainObject(e)||oe.isArray(e)}function g$(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function sx(e,t,n){return e?e.concat(t).map(function(i,o){return i=g$(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Vj(e){return oe.isArray(e)&&!e.some(Fg)}const qj=oe.toFlatObject(oe,{},null,function(t){return/^is[A-Z]/.test(t)});function oh(e,t,n){if(!oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!oe.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(t);if(!oe.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(oe.isDate(p))return p.toISOString();if(oe.isBoolean(p))return p.toString();if(!l&&oe.isBlob(p))throw new it("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(p)||oe.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,v){let x=p;if(p&&!v&&typeof p=="object"){if(oe.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(oe.isArray(p)&&Vj(p)||(oe.isFileList(p)||oe.endsWith(g,"[]"))&&(x=oe.toArray(p)))return g=g$(g),x.forEach(function(w,C){!(oe.isUndefined(w)||w===null)&&t.append(a===!0?sx([g],C,o):a===null?g:g+"[]",c(w))}),!1}return Fg(p)?!0:(t.append(sx(v,g,o),c(p)),!1)}const d=[],f=Object.assign(qj,{defaultVisitor:u,convertValue:c,isVisitable:Fg});function h(p,g){if(!oe.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(p),oe.forEach(p,function(x,_){(!(oe.isUndefined(x)||x===null)&&i.call(t,x,oe.isString(_)?_.trim():_,g,f))===!0&&h(x,g?g.concat(_):[_])}),d.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return h(e),t}function lx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function j0(e,t){this._pairs=[],e&&oh(e,this,t)}const v$=j0.prototype;v$.append=function(t,n){this._pairs.push([t,n])};v$.toString=function(t){const n=t?function(r){return t.call(this,r,lx)}:lx;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Yj(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function b$(e,t,n){if(!t)return e;const r=n&&n.encode||Yj;oe.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=oe.isURLSearchParams(t)?t.toString():new j0(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class cx{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){oe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const y$={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gj=typeof URLSearchParams<"u"?URLSearchParams:j0,Kj=typeof FormData<"u"?FormData:null,Zj=typeof Blob<"u"?Blob:null,Xj={isBrowser:!0,classes:{URLSearchParams:Gj,FormData:Kj,Blob:Zj},protocols:["http","https","file","blob","url","data"]},N0=typeof window<"u"&&typeof document<"u",Bg=typeof navigator=="object"&&navigator||void 0,Qj=N0&&(!Bg||["ReactNative","NativeScript","NS"].indexOf(Bg.product)<0),Jj=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",eN=N0&&window.location.href||"http://localhost",tN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:N0,hasStandardBrowserEnv:Qj,hasStandardBrowserWebWorkerEnv:Jj,navigator:Bg,origin:eN},Symbol.toStringTag,{value:"Module"})),jn={...tN,...Xj};function nN(e,t){return oh(e,new jn.classes.URLSearchParams,{visitor:function(n,r,i,o){return jn.isNode&&oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function rN(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iN(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function x$(e){function t(n,r,i,o){let a=n[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&oe.isArray(i)?i.length:a,l?(oe.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!oe.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&oe.isArray(i[a])&&(i[a]=iN(i[a])),!s)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,i)=>{t(rN(r),i,n,0)}),n}return null}function oN(e,t,n){if(oe.isString(e))try{return(t||JSON.parse)(e),oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ru={transitional:y$,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=oe.isObject(t);if(o&&oe.isHTMLForm(t)&&(t=new FormData(t)),oe.isFormData(t))return i?JSON.stringify(x$(t)):t;if(oe.isArrayBuffer(t)||oe.isBuffer(t)||oe.isStream(t)||oe.isFile(t)||oe.isBlob(t)||oe.isReadableStream(t))return t;if(oe.isArrayBufferView(t))return t.buffer;if(oe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nN(t,this.formSerializer).toString();if((s=oe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return oh(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),oN(t)):t}],transformResponse:[function(t){const n=this.transitional||ru.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(oe.isResponse(t)||oe.isReadableStream(t))return t;if(t&&oe.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(s){if(a)throw s.name==="SyntaxError"?it.from(s,it.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jn.classes.FormData,Blob:jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{ru.headers[e]={}});const aN=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sN=e=>{const t={};let n,r,i;return e&&e.split(`
221
221
  `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&aN[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ux=Symbol("internals");function ml(e){return e&&String(e).trim().toLowerCase()}function xd(e){return e===!1||e==null?e:oe.isArray(e)?e.map(xd):String(e)}function lN(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const cN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function am(e,t,n,r,i){if(oe.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!oe.isString(t)){if(oe.isString(r))return t.indexOf(r)!==-1;if(oe.isRegExp(r))return r.test(t)}}function uN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function dN(e,t){const n=oe.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}let tr=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,c){const u=ml(l);if(!u)throw new Error("header name must be a non-empty string");const d=oe.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=xd(s))}const a=(s,l)=>oe.forEach(s,(c,u)=>o(c,u,l));if(oe.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(oe.isString(t)&&(t=t.trim())&&!cN(t))a(sN(t),n);else if(oe.isObject(t)&&oe.isIterable(t)){let s={},l,c;for(const u of t){if(!oe.isArray(u))throw TypeError("Object iterator must return a key-value pair");s[c=u[0]]=(l=s[c])?oe.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}a(s,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=ml(t),t){const r=oe.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return lN(i);if(oe.isFunction(n))return n.call(this,i,r);if(oe.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ml(t),t){const r=oe.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||am(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=ml(a),a){const s=oe.findKey(r,a);s&&(!n||am(r,r[s],s,n))&&(delete r[s],i=!0)}}return oe.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||am(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return oe.forEach(this,(i,o)=>{const a=oe.findKey(r,o);if(a){n[a]=xd(i),delete n[o];return}const s=t?uN(o):String(o).trim();s!==o&&delete n[o],n[s]=xd(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return oe.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&oe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
222
222
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[ux]=this[ux]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=ml(a);r[s]||(dN(i,a),r[s]=!0)}return oe.isArray(t)?t.forEach(o):o(t),this}};tr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);oe.reduceDescriptors(tr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});oe.freezeMethods(tr);function sm(e,t){const n=this||ru,r=t||n,i=tr.from(r.headers);let o=r.data;return oe.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function w$(e){return!!(e&&e.__CANCEL__)}function Us(e,t,n){it.call(this,e??"canceled",it.ERR_CANCELED,t,n),this.name="CanceledError"}oe.inherits(Us,it,{__CANCEL__:!0});function _$(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new it("Request failed with status code "+n.status,[it.ERR_BAD_REQUEST,it.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function fN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hN(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];a||(a=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-a<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function pN(e,t){let n=0,r=1e3/t,i,o;const a=(c,u=Date.now())=>{n=u,i=null,o&&(clearTimeout(o),o=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(i=c,o||(o=setTimeout(()=>{o=null,a(i)},r-d)))},()=>i&&a(i)]}const Wd=(e,t,n=3)=>{let r=0;const i=hN(50,250);return pN(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,c=i(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},dx=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},fx=e=>(...t)=>oe.asap(()=>e(...t)),mN=jn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,jn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(jn.origin),jn.navigator&&/(msie|trident)/i.test(jn.navigator.userAgent)):()=>!0,gN=jn.hasStandardBrowserEnv?{write(e,t,n,r,i,o,a){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];oe.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),oe.isString(r)&&s.push(`path=${r}`),oe.isString(i)&&s.push(`domain=${i}`),o===!0&&s.push("secure"),oe.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bN(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function C$(e,t,n){let r=!vN(t);return e&&(r||n==!1)?bN(e,t):t}const hx=e=>e instanceof tr?{...e}:e;function sa(e,t){t=t||{};const n={};function r(c,u,d,f){return oe.isPlainObject(c)&&oe.isPlainObject(u)?oe.merge.call({caseless:f},c,u):oe.isPlainObject(u)?oe.merge({},u):oe.isArray(u)?u.slice():u}function i(c,u,d,f){if(oe.isUndefined(u)){if(!oe.isUndefined(c))return r(void 0,c,d,f)}else return r(c,u,d,f)}function o(c,u){if(!oe.isUndefined(u))return r(void 0,u)}function a(c,u){if(oe.isUndefined(u)){if(!oe.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u,d)=>i(hx(c),hx(u),d,!0)};return oe.forEach(Object.keys({...e,...t}),function(u){const d=l[u]||i,f=d(e[u],t[u],u);oe.isUndefined(f)&&d!==s||(n[u]=f)}),n}const $$=e=>{const t=sa({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;if(t.headers=a=tr.from(a),t.url=b$(C$(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),oe.isFormData(n)){if(jn.hasStandardBrowserEnv||jn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(oe.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&a.set(u,d)})}}if(jn.hasStandardBrowserEnv&&(r&&oe.isFunction(r)&&(r=r(t)),r||r!==!1&&mN(t.url))){const l=i&&o&&gN.read(o);l&&a.set(i,l)}return t},yN=typeof XMLHttpRequest<"u",xN=yN&&function(e){return new Promise(function(n,r){const i=$$(e);let o=i.data;const a=tr.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,p;function g(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function x(){if(!v)return;const w=tr.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:w,config:e,request:v};_$(function(T){n(T),g()},function(T){r(T),g()},b),v=null}"onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(x)},v.onabort=function(){v&&(r(new it("Request aborted",it.ECONNABORTED,e,v)),v=null)},v.onerror=function(C){const b=C&&C.message?C.message:"Network Error",$=new it(b,it.ERR_NETWORK,e,v);$.event=C||null,r($),v=null},v.ontimeout=function(){let C=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const b=i.transitional||y$;i.timeoutErrorMessage&&(C=i.timeoutErrorMessage),r(new it(C,b.clarifyTimeoutError?it.ETIMEDOUT:it.ECONNABORTED,e,v)),v=null},o===void 0&&a.setContentType(null),"setRequestHeader"in v&&oe.forEach(a.toJSON(),function(C,b){v.setRequestHeader(b,C)}),oe.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([f,p]=Wd(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,h]=Wd(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=w=>{v&&(r(!w||w.type?new Us(null,e,v):w),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=fN(i.url);if(_&&jn.protocols.indexOf(_)===-1){r(new it("Unsupported protocol "+_+":",it.ERR_BAD_REQUEST,e));return}v.send(o||null)})},wN=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof it?u:new Us(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,o(new it(`timeout ${t} of ms exceeded`,it.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>oe.asap(s),l}},_N=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},CN=async function*(e,t){for await(const n of $N(e))yield*_N(n,t)},$N=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},px=(e,t,n,r)=>{const i=CN(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let f=o+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},mx=64*1024,{isFunction:Uu}=oe,SN=(({Request:e,Response:t})=>({Request:e,Response:t}))(oe.global),{ReadableStream:gx,TextEncoder:vx}=oe.global,bx=(e,...t)=>{try{return!!e(...t)}catch{return!1}},TN=e=>{e=oe.merge.call({skipUndefined:!0},SN,e);const{fetch:t,Request:n,Response:r}=e,i=t?Uu(t):typeof fetch=="function",o=Uu(n),a=Uu(r);if(!i)return!1;const s=i&&Uu(gx),l=i&&(typeof vx=="function"?(p=>g=>p.encode(g))(new vx):async p=>new Uint8Array(await new n(p).arrayBuffer())),c=o&&s&&bx(()=>{let p=!1;const g=new n(jn.origin,{body:new gx,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!g}),u=a&&s&&bx(()=>oe.isReadableStream(new r("").body)),d={stream:u&&(p=>p.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!d[p]&&(d[p]=(g,v)=>{let x=g&&g[p];if(x)return x.call(g);throw new it(`Response type '${p}' is not supported`,it.ERR_NOT_SUPPORT,v)})});const f=async p=>{if(p==null)return 0;if(oe.isBlob(p))return p.size;if(oe.isSpecCompliantForm(p))return(await new n(jn.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(p)||oe.isArrayBuffer(p))return p.byteLength;if(oe.isURLSearchParams(p)&&(p=p+""),oe.isString(p))return(await l(p)).byteLength},h=async(p,g)=>{const v=oe.toFiniteNumber(p.getContentLength());return v??f(g)};return async p=>{let{url:g,method:v,data:x,signal:_,cancelToken:w,timeout:C,onDownloadProgress:b,onUploadProgress:$,responseType:T,headers:k,withCredentials:O="same-origin",fetchOptions:j}=$$(p),S=t||fetch;T=T?(T+"").toLowerCase():"text";let E=wN([_,w&&w.toAbortSignal()],C),A=null;const D=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let R;try{if($&&c&&v!=="get"&&v!=="head"&&(R=await h(k,x))!==0){let z=new n(g,{method:"POST",body:x,duplex:"half"}),V;if(oe.isFormData(x)&&(V=z.headers.get("content-type"))&&k.setContentType(V),z.body){const[H,Y]=dx(R,Wd(fx($)));x=px(z.body,mx,H,Y)}}oe.isString(O)||(O=O?"include":"omit");const M=o&&"credentials"in n.prototype,I={...j,signal:E,method:v.toUpperCase(),headers:k.normalize().toJSON(),body:x,duplex:"half",credentials:M?O:void 0};A=o&&new n(g,I);let F=await(o?S(A,j):S(g,I));const U=u&&(T==="stream"||T==="response");if(u&&(b||U&&D)){const z={};["status","statusText","headers"].forEach(Z=>{z[Z]=F[Z]});const V=oe.toFiniteNumber(F.headers.get("content-length")),[H,Y]=b&&dx(V,Wd(fx(b),!0))||[];F=new r(px(F.body,mx,H,()=>{Y&&Y(),D&&D()}),z)}T=T||"text";let P=await d[oe.findKey(d,T)||"text"](F,p);return!U&&D&&D(),await new Promise((z,V)=>{_$(z,V,{data:P,headers:tr.from(F.headers),status:F.status,statusText:F.statusText,config:p,request:A})})}catch(M){throw D&&D(),M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)?Object.assign(new it("Network Error",it.ERR_NETWORK,p,A),{cause:M.cause||M}):it.from(M,M&&M.code,p,A)}}},EN=new Map,S$=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let a=o.length,s=a,l,c,u=EN;for(;s--;)l=o[s],c=u.get(l),c===void 0&&u.set(l,c=s?new Map:TN(t)),u=c;return c};S$();const D0={http:Hj,xhr:xN,fetch:{get:S$}};oe.forEach(D0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yx=e=>`- ${e}`,kN=e=>oe.isFunction(e)||e===null||e===!1;function ON(e,t){e=oe.isArray(e)?e:[e];const{length:n}=e;let r,i;const o={};for(let a=0;a<n;a++){r=e[a];let s;if(i=r,!kN(r)&&(i=D0[(s=String(r)).toLowerCase()],i===void 0))throw new it(`Unknown adapter '${s}'`);if(i&&(oe.isFunction(i)||(i=i.get(t))))break;o[s||"#"+a]=i}if(!i){const a=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=n?a.length>1?`since :
223
223
  `+a.map(yx).join(`
@@ -1 +1 @@
1
- "use strict";const N=require("./nivo-bar-CY8ZoIud.cjs"),F=require("react-router"),Q=require("react-hook-form"),y=()=>{const o=N.compilerRuntimeExports.c(6),[e,s]=F.useSearchParams();let t;o[0]!==e||o[1]!==s?(t=(i,n)=>{e.get(i)!==n&&s(l=>(n===null&&l.delete(i),l.get(i)===n||l.set(i,n??""),l),{replace:!0})},o[0]=e,o[1]=s,o[2]=t):t=o[2];const u=t;let c;return o[3]!==e||o[4]!==u?(c={searchParams:e,setSearch:u},o[3]=e,o[4]=u,o[5]=c):c=o[5],c},k="\0",p=(o,e,s)=>{const t=N.compilerRuntimeExports.c(24),{searchParams:u,setSearch:c}=y();let i;t[0]!==s?(i=r=>{if(typeof r=="object"){if(s&&s==="date"||!s&&r instanceof Date){if(!(r instanceof Date))throw new Error("Tried to setQueryState of type Date to non-date.");return r.toISOString()}return JSON.stringify(r)}return r.toString()},t[0]=s,t[1]=i):i=t[1];const n=i;let l;t[2]!==e||t[3]!==n?(l=n(e),t[2]=e,t[3]=n,t[4]=l):l=t[4];const P=l;let g;t[5]!==o||t[6]!==u?(g=u.get(o),t[5]=o,t[6]=u,t[7]=g):g=t[7];const E=g;let b;t:{const r=E;if(r===k){b=null;break t}const f=r?Number(r):e;let m=Number.isNaN(f)?typeof e:"number";switch(m==="object"&&e instanceof Date&&(m="date"),s??m){case"number":{b=f;break t}case"string":{b=r??e;break t}case"boolean":{b=r==="true";break t}case"object":{let h;t[8]!==e||t[9]!==r?(h=r?JSON.parse(r):e,t[8]=e,t[9]=r,t[10]=h):h=t[10],b=h;break t}case"date":{let h;t[11]!==e||t[12]!==r?(h=r?new Date(r):e,t[11]=e,t[12]=r,t[13]=h):h=t[13],b=h;break t}default:throw console.error(s,m),new Error(`useSearchQueryState is not implemented for type ${typeof(s??m)}.`)}}const a=b;let S;t[14]!==e||t[15]!==P||t[16]!==n||t[17]!==o||t[18]!==c||t[19]!==a?(S=r=>{let f;typeof r=="function"?f=r(a):f=r;const m=n(f);if(e===f||m===P){c(o,null);return}if(f===null){c(o,k);return}c(o,m)},t[14]=e,t[15]=P,t[16]=n,t[17]=o,t[18]=c,t[19]=a,t[20]=S):S=t[20];const D=S;let $;return t[21]!==D||t[22]!==a?($=[a,D],t[21]=D,t[22]=a,t[23]=$):$=t[23],$},R=o=>{const e=N.compilerRuntimeExports.c(5),s=Math.floor(Math.random()*900)+100;let t;e[0]!==o?(t=btoa(o.toString()??""),e[0]=o,e[1]=t):t=e[1];const u=t,c=`employeePhotos?personalNumber=${s}${u}&small=false`,i=`employeePhotos?personalNumber=${s}${u}&small=true`;let n;return e[2]!==c||e[3]!==i?(n={photoPath:c,photoPathSm:i},e[2]=c,e[3]=i,e[4]=n):n=e[4],n},j=({control:o}={})=>{"use no memo";const{dirtyFields:e}=Q.useFormState({control:o});return Object.keys(e).length>0};exports.useEmployeePhotoPath=R;exports.useIsFormDirty=j;exports.useSearchQuery=y;exports.useSearchQueryState=p;
1
+ "use strict";const N=require("./nivo-bar-I92eMmVs.cjs"),F=require("react-router"),Q=require("react-hook-form"),y=()=>{const o=N.compilerRuntimeExports.c(6),[e,s]=F.useSearchParams();let t;o[0]!==e||o[1]!==s?(t=(i,n)=>{e.get(i)!==n&&s(l=>(n===null&&l.delete(i),l.get(i)===n||l.set(i,n??""),l),{replace:!0})},o[0]=e,o[1]=s,o[2]=t):t=o[2];const u=t;let c;return o[3]!==e||o[4]!==u?(c={searchParams:e,setSearch:u},o[3]=e,o[4]=u,o[5]=c):c=o[5],c},k="\0",p=(o,e,s)=>{const t=N.compilerRuntimeExports.c(24),{searchParams:u,setSearch:c}=y();let i;t[0]!==s?(i=r=>{if(typeof r=="object"){if(s&&s==="date"||!s&&r instanceof Date){if(!(r instanceof Date))throw new Error("Tried to setQueryState of type Date to non-date.");return r.toISOString()}return JSON.stringify(r)}return r.toString()},t[0]=s,t[1]=i):i=t[1];const n=i;let l;t[2]!==e||t[3]!==n?(l=n(e),t[2]=e,t[3]=n,t[4]=l):l=t[4];const P=l;let g;t[5]!==o||t[6]!==u?(g=u.get(o),t[5]=o,t[6]=u,t[7]=g):g=t[7];const E=g;let b;t:{const r=E;if(r===k){b=null;break t}const f=r?Number(r):e;let m=Number.isNaN(f)?typeof e:"number";switch(m==="object"&&e instanceof Date&&(m="date"),s??m){case"number":{b=f;break t}case"string":{b=r??e;break t}case"boolean":{b=r==="true";break t}case"object":{let h;t[8]!==e||t[9]!==r?(h=r?JSON.parse(r):e,t[8]=e,t[9]=r,t[10]=h):h=t[10],b=h;break t}case"date":{let h;t[11]!==e||t[12]!==r?(h=r?new Date(r):e,t[11]=e,t[12]=r,t[13]=h):h=t[13],b=h;break t}default:throw console.error(s,m),new Error(`useSearchQueryState is not implemented for type ${typeof(s??m)}.`)}}const a=b;let S;t[14]!==e||t[15]!==P||t[16]!==n||t[17]!==o||t[18]!==c||t[19]!==a?(S=r=>{let f;typeof r=="function"?f=r(a):f=r;const m=n(f);if(e===f||m===P){c(o,null);return}if(f===null){c(o,k);return}c(o,m)},t[14]=e,t[15]=P,t[16]=n,t[17]=o,t[18]=c,t[19]=a,t[20]=S):S=t[20];const D=S;let $;return t[21]!==D||t[22]!==a?($=[a,D],t[21]=D,t[22]=a,t[23]=$):$=t[23],$},R=o=>{const e=N.compilerRuntimeExports.c(5),s=Math.floor(Math.random()*900)+100;let t;e[0]!==o?(t=btoa(o.toString()??""),e[0]=o,e[1]=t):t=e[1];const u=t,c=`employeePhotos?personalNumber=${s}${u}&small=false`,i=`employeePhotos?personalNumber=${s}${u}&small=true`;let n;return e[2]!==c||e[3]!==i?(n={photoPath:c,photoPathSm:i},e[2]=c,e[3]=i,e[4]=n):n=e[4],n},j=({control:o}={})=>{"use no memo";const{dirtyFields:e}=Q.useFormState({control:o});return Object.keys(e).length>0};exports.useEmployeePhotoPath=R;exports.useIsFormDirty=j;exports.useSearchQuery=y;exports.useSearchQueryState=p;
@@ -1,4 +1,4 @@
1
- import { c as D } from "./nivo-bar-BUF7rNqx.js";
1
+ import { c as D } from "./nivo-bar-B0DQaqgI.js";
2
2
  import { useSearchParams as j } from "react-router";
3
3
  import { useFormState as p } from "react-hook-form";
4
4
  const y = () => {
@@ -1 +1 @@
1
- "use strict";const q=require("./nivo-bar-CY8ZoIud.cjs");require("react/jsx-runtime");const a=require("react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const S={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},w=(e,{loadOnInit:u=S.loadOnInit,enabled:t=S.enabled,silent:o=S.silent,nullStateBeforeLoad:c=S.nullStateBeforeLoad,nullStateOnFail:s=S.nullStateOnFail,customApiUrl:C,customBearerToken:f,dataTransformer:r}=S)=>{const n=q.useAxios({silent:o,customToken:f,differentBaseUrl:C}),[p,i]=a.useState(0),{startLoading:d,stopLoading:b}=a.useContext(q.LoadingContext),m=a.useRef(0),{isAuthenticated:x}=q.useAuth(),[v,D]=a.useState(null),A=a.useRef(u??!1),g=a.useCallback(async(L,h)=>{if(!x()||t===!1)return null;i(l=>l+1),!o&&d(`loadData-${e}-${h}`),c&&D(null);let R;try{const l=await n.get(e,{signal:L}),$=r?r(l.data):l.data;D($),R=$}catch(l){throw s&&D(null),l}finally{A.current=!1,i(l=>l-1),!o&&b(`loadData-${e}-${h}`)}return R},[x,t,o,d,e,c,n,r,s,b]),I=a.useCallback(async()=>{g()},[g]),O=a.useCallback(async()=>g(),[g]);return a.useEffect(()=>{if(u===!1)return;if(n.interceptorsUsed===!1){console.error("useGetApiData: could not load data because interceptors are not used");return}const L=new AbortController;return g(L.signal,++m.current),()=>{L.abort()}},[g,u,n.interceptorsUsed]),{data:v,setData:D,reloadData:I,isLoading:A.current||p>0,reloadDataWithReturn:O}},B=(e,u)=>{const t=q.compilerRuntimeExports.c(12);let o;t[0]!==u||t[1]!==e?(o=()=>{const d=localStorage.getItem(e);return d!=null&&d!=="undefined"?JSON.parse(d):u},t[0]=u,t[1]=e,t[2]=o):o=t[2];const c=o,[s,C]=a.useState(c);let f,r;t[3]!==e||t[4]!==s?(f=()=>{localStorage.setItem(e,JSON.stringify(s))},r=[e,s],t[3]=e,t[4]=s,t[5]=f,t[6]=r):(f=t[5],r=t[6]),a.useEffect(f,r);let n;t[7]!==c?(n=()=>{C(c)},t[7]=c,t[8]=n):n=t[8];const p=n;let i;return t[9]!==p||t[10]!==s?(i=[s,C,p],t[9]=p,t[10]=s,t[11]=i):i=t[11],i};exports.useGetApiData=w;exports.useLocalStorageState=B;
1
+ "use strict";const q=require("./nivo-bar-I92eMmVs.cjs");require("react/jsx-runtime");const a=require("react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const S={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},w=(e,{loadOnInit:u=S.loadOnInit,enabled:t=S.enabled,silent:o=S.silent,nullStateBeforeLoad:c=S.nullStateBeforeLoad,nullStateOnFail:s=S.nullStateOnFail,customApiUrl:C,customBearerToken:f,dataTransformer:r}=S)=>{const n=q.useAxios({silent:o,customToken:f,differentBaseUrl:C}),[p,i]=a.useState(0),{startLoading:d,stopLoading:b}=a.useContext(q.LoadingContext),m=a.useRef(0),{isAuthenticated:x}=q.useAuth(),[v,D]=a.useState(null),A=a.useRef(u??!1),g=a.useCallback(async(L,h)=>{if(!x()||t===!1)return null;i(l=>l+1),!o&&d(`loadData-${e}-${h}`),c&&D(null);let R;try{const l=await n.get(e,{signal:L}),$=r?r(l.data):l.data;D($),R=$}catch(l){throw s&&D(null),l}finally{A.current=!1,i(l=>l-1),!o&&b(`loadData-${e}-${h}`)}return R},[x,t,o,d,e,c,n,r,s,b]),I=a.useCallback(async()=>{g()},[g]),O=a.useCallback(async()=>g(),[g]);return a.useEffect(()=>{if(u===!1)return;if(n.interceptorsUsed===!1){console.error("useGetApiData: could not load data because interceptors are not used");return}const L=new AbortController;return g(L.signal,++m.current),()=>{L.abort()}},[g,u,n.interceptorsUsed]),{data:v,setData:D,reloadData:I,isLoading:A.current||p>0,reloadDataWithReturn:O}},B=(e,u)=>{const t=q.compilerRuntimeExports.c(12);let o;t[0]!==u||t[1]!==e?(o=()=>{const d=localStorage.getItem(e);return d!=null&&d!=="undefined"?JSON.parse(d):u},t[0]=u,t[1]=e,t[2]=o):o=t[2];const c=o,[s,C]=a.useState(c);let f,r;t[3]!==e||t[4]!==s?(f=()=>{localStorage.setItem(e,JSON.stringify(s))},r=[e,s],t[3]=e,t[4]=s,t[5]=f,t[6]=r):(f=t[5],r=t[6]),a.useEffect(f,r);let n;t[7]!==c?(n=()=>{C(c)},t[7]=c,t[8]=n):n=t[8];const p=n;let i;return t[9]!==p||t[10]!==s?(i=[s,C,p],t[9]=p,t[10]=s,t[11]=i):i=t[11],i};exports.useGetApiData=w;exports.useLocalStorageState=B;
@@ -1,4 +1,4 @@
1
- import { ao as E, aq as F, bd as G, c as J } from "./nivo-bar-BUF7rNqx.js";
1
+ import { ao as E, aq as F, bd as G, c as J } from "./nivo-bar-B0DQaqgI.js";
2
2
  import "react/jsx-runtime";
3
3
  import { useState as C, useContext as N, useRef as O, useCallback as L, useEffect as R } from "react";
4
4
  import "react-router";
package/dist/utils.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./nivo-bar-CY8ZoIud.cjs"),l=require("react/jsx-runtime");require("react");require("@azure/msal-browser");require("@azure/msal-react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");const u=require("./localStorageUtils-CkZslzIU.cjs"),h=e=>{var r,a;return l.jsx(t.SimpleTooltip,{text:((r=e.getValue())==null?void 0:r.toString())??"",placement:"bottom",children:l.jsx("div",{className:"w-100 text-truncate",children:((a=e.getValue())==null?void 0:a.toString())??""})})},p=e=>{var r;return l.jsx(l.Fragment,{children:(r=e.getValue())==null?void 0:r.toLocaleString("cs-CZ")})},y=e=>{var o;const r=((o=e.getValue())==null?void 0:o.toString())??"",a=t.format(new Date(r),"dd.MM.yyyy");return l.jsx(l.Fragment,{children:r?a:""})},b=(e,r)=>{let a=!1,o=e;e[0]==="#"&&(o=e.slice(1),a=!0);let s=parseInt(o.substring(0,2),16),n=parseInt(o.substring(2,4),16),i=parseInt(o.substring(4,6),16);s+=r,n+=r,i+=r,s>255?s=255:s<0&&(s=0),n>255?n=255:n<0&&(n=0),i>255?i=255:i<0&&(i=0);const m=s.toString(16).length===1?"0"+s.toString(16):s.toString(16),S=n.toString(16).length===1?"0"+n.toString(16):n.toString(16),d=i.toString(16).length===1?"0"+i.toString(16):i.toString(16);return(a?"#":"")+m+S+d},O=e=>{const r=e.slice(3),a=[];for(let s=0;s<r.length;s+=2)a.push(r.slice(s,s+2));return`#${a.reverse().join("")}`},F=e=>typeof e.directoryName=="string"&&typeof e.directoryPath=="string"&&typeof e.directoryTranslationKey=="string"&&Array.isArray(e.files),D=async e=>{let r={status:"pending"};try{r={status:"success",data:(await e).data}}catch(a){r={status:"error",error:a}}return r},f=e=>{var r,a,o;return{columnOrder:e.columnsOrder??[],columnVisibility:Object.fromEntries((e.hiddenColumns??[]).map(s=>[s,!1])),pageIndex:0,pageSize:e.defaultPageSize??50,columnSorting:e.defaultSort?[e.defaultSort]:[],columnFilters:e.defaultFilters??[],columnPinning:e.fixedColumns?{left:e.fixedColumns.left?[e.fixedColumns.left]:[],right:e.fixedColumns.right?[e.fixedColumns.right]:[]}:{left:[],right:[]},size:e.isDense?"sm":"md",mobileDisplayGroup:((r=e.onMobile)==null?void 0:r.defaultDisplayGroup)??"",mobileFilter:{globalFilter:""},mobileShowColumnNames:((a=e.onMobile)==null?void 0:a.showColumnNames)??!1,columnSizing:Object.fromEntries(((o=e.columnWidths)==null?void 0:o.map(s=>[s.column,s.width]))??[]),grouping:[],expanding:{},isFullScreen:!1}},T=(e,r)=>{const a=new URLSearchParams;return Object.keys(e).forEach(o=>{a.append(`BnfTable-${r||"Universal"}.${o}`,JSON.stringify(e[o]))}),a.toString()},x=(e,r)=>{const a=localStorage.getItem("BnfTable-SettingsMigration");if(a){const o=JSON.parse(a);if(o.done&&o.version>=r)return}console.log("Migrating BnfTable settings to Tanstack Table format..."),e.forEach(o=>{const s=localStorage.getItem(o);if(!s)return;const n=JSON.parse(s);if(!n||Object.keys(n).length<1)return;const i=f(n);Object.keys(i).forEach(m=>{localStorage.setItem(`BnfTable-${o}.${m}`,JSON.stringify(i[m]))})}),localStorage.setItem("BnfTable-SettingsMigration",JSON.stringify({done:!0,version:r}))},c=()=>new URLSearchParams(window.location.search),g=e=>{const r=window.location.pathname+(e.toString()?`?${e.toString()}`:"")+window.location.hash;window.history.replaceState(null,"",r)},N={get length(){return Array.from(c().keys()).length},key(e){const r=c();return Array.from(r.keys())[e]??null},getItem(e){const a=c().get(e);return a??null},setItem(e,r){const a=c();a.set(e,r),g(a)},removeItem(e){const r=c();r.delete(e),g(r)},clear(){g(new URLSearchParams)}},v=["edit","delete","info","warning","check","check-simple","add","cancel","cancel-simple","danger","chevron-left","chevron-right","chevron-up","chevron-down","chevron-double-left","chevron-double-right","folder","folder-filled","file-download","file-upload","star-outline","save","link","pending","resizer-horizontal","qr-code","phone","mail","mail-envelope","dashboard","user","role","close","search","plus","minus","menu","arrow-right"];exports.atobUtf8=t.atobUtf8;exports.buildEmployeeNameString=t.buildEmployeeNameString;exports.buildOrgUnitString=t.buildOrgUnitString;exports.buildVehicleNameString=t.buildVehicleNameString;exports.capitalizeFirstLetter=t.capitalizeFirstLetter;exports.compareDate=t.compareDate;exports.compareDateTime=t.compareDateTime;exports.extractErrorsFromBlobResponse=t.extractErrorsFromBlobResponse;exports.extractErrorsFromResponse=t.extractErrorsFromResponse;exports.extractFilename=t.extractFilename;exports.extractPermissionsFromResponse=t.extractPermissionsFromResponse;exports.fixNameIdNulls=t.fixNameIdNulls;exports.formatDate=t.formatDate;exports.formatDateTime=t.formatDateTime;exports.formatFileSize=t.formatFileSize;exports.getDateString=t.getDateString;exports.getDaysDifference=t.getDaysDifference;exports.getFirstDayOfMonth=t.getFirstDayOfMonth;exports.getFirstDayOfOffsetMonth=t.getFirstDayOfOffsetMonth;exports.getFirstDayOfYear=t.getFirstDayOfYear;exports.getLastDayOfMonth=t.getLastDayOfMonth;exports.getLastDayOfOffsetMonth=t.getLastDayOfOffsetMonth;exports.getLastDayOfYear=t.getLastDayOfYear;exports.hasOnlyNullValues=t.hasOnlyNullValues;exports.hookFormSetServerErrors=t.hookFormSetServerErrors;exports.isExtensionOpenable=t.isExtensionOpenable;exports.isFileOpenable=t.isFileOpenable;exports.isISODate=t.isISODate;exports.isPrimitive=t.isPrimitive;exports.isValidDate=t.isValidDate;exports.joinStrings=t.joinStrings;exports.msToStartOfNextDay=t.msToStartOfNextDay;exports.replaceNullValuesOnlyObjectsWithNulls=t.replaceNullValuesOnlyObjectsWithNulls;exports.saveFile=t.saveFile;exports.saveFileFromResponse=t.saveFileFromResponse;exports.shortenText=t.shortenText;exports.stringContains=t.stringContains;exports.stringSearchWithin=t.stringSearchWithin;exports.stringStartsWith=t.stringStartsWith;exports.trimIsoDate=t.trimIsoDate;exports.truncateText=t.truncateText;exports.urlfyArray=t.urlfyArray;exports.dumpLocalStorage=u.dumpLocalStorage;exports.generateApiPath=u.generateApiPath;exports.hookFormSetNull=u.hookFormSetNull;exports.hookFormSetNulls=u.hookFormSetNulls;exports.limitNumber=u.limitNumber;exports.restoreLocalStorage=u.restoreLocalStorage;exports.CommonLuminusIconsArray=v;exports.adjustBrightness=b;exports.buildTableSearchQuery=T;exports.configToTanstackTableState=f;exports.dateValueFormat=y;exports.isFileStructureDirectory=F;exports.migrateBnfTableSettings=x;exports.numFormat=p;exports.queryStorage=N;exports.responsePromiseWrapper=D;exports.valueTooltip=h;exports.vclToHex=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./nivo-bar-I92eMmVs.cjs"),l=require("react/jsx-runtime");require("react");require("@azure/msal-browser");require("@azure/msal-react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");const u=require("./localStorageUtils-CkZslzIU.cjs"),h=e=>{var r,a;return l.jsx(t.SimpleTooltip,{text:((r=e.getValue())==null?void 0:r.toString())??"",placement:"bottom",children:l.jsx("div",{className:"w-100 text-truncate",children:((a=e.getValue())==null?void 0:a.toString())??""})})},p=e=>{var r;return l.jsx(l.Fragment,{children:(r=e.getValue())==null?void 0:r.toLocaleString("cs-CZ")})},y=e=>{var o;const r=((o=e.getValue())==null?void 0:o.toString())??"",a=t.format(new Date(r),"dd.MM.yyyy");return l.jsx(l.Fragment,{children:r?a:""})},b=(e,r)=>{let a=!1,o=e;e[0]==="#"&&(o=e.slice(1),a=!0);let s=parseInt(o.substring(0,2),16),n=parseInt(o.substring(2,4),16),i=parseInt(o.substring(4,6),16);s+=r,n+=r,i+=r,s>255?s=255:s<0&&(s=0),n>255?n=255:n<0&&(n=0),i>255?i=255:i<0&&(i=0);const m=s.toString(16).length===1?"0"+s.toString(16):s.toString(16),S=n.toString(16).length===1?"0"+n.toString(16):n.toString(16),d=i.toString(16).length===1?"0"+i.toString(16):i.toString(16);return(a?"#":"")+m+S+d},O=e=>{const r=e.slice(3),a=[];for(let s=0;s<r.length;s+=2)a.push(r.slice(s,s+2));return`#${a.reverse().join("")}`},F=e=>typeof e.directoryName=="string"&&typeof e.directoryPath=="string"&&typeof e.directoryTranslationKey=="string"&&Array.isArray(e.files),D=async e=>{let r={status:"pending"};try{r={status:"success",data:(await e).data}}catch(a){r={status:"error",error:a}}return r},f=e=>{var r,a,o;return{columnOrder:e.columnsOrder??[],columnVisibility:Object.fromEntries((e.hiddenColumns??[]).map(s=>[s,!1])),pageIndex:0,pageSize:e.defaultPageSize??50,columnSorting:e.defaultSort?[e.defaultSort]:[],columnFilters:e.defaultFilters??[],columnPinning:e.fixedColumns?{left:e.fixedColumns.left?[e.fixedColumns.left]:[],right:e.fixedColumns.right?[e.fixedColumns.right]:[]}:{left:[],right:[]},size:e.isDense?"sm":"md",mobileDisplayGroup:((r=e.onMobile)==null?void 0:r.defaultDisplayGroup)??"",mobileFilter:{globalFilter:""},mobileShowColumnNames:((a=e.onMobile)==null?void 0:a.showColumnNames)??!1,columnSizing:Object.fromEntries(((o=e.columnWidths)==null?void 0:o.map(s=>[s.column,s.width]))??[]),grouping:[],expanding:{},isFullScreen:!1}},T=(e,r)=>{const a=new URLSearchParams;return Object.keys(e).forEach(o=>{a.append(`BnfTable-${r||"Universal"}.${o}`,JSON.stringify(e[o]))}),a.toString()},x=(e,r)=>{const a=localStorage.getItem("BnfTable-SettingsMigration");if(a){const o=JSON.parse(a);if(o.done&&o.version>=r)return}console.log("Migrating BnfTable settings to Tanstack Table format..."),e.forEach(o=>{const s=localStorage.getItem(o);if(!s)return;const n=JSON.parse(s);if(!n||Object.keys(n).length<1)return;const i=f(n);Object.keys(i).forEach(m=>{localStorage.setItem(`BnfTable-${o}.${m}`,JSON.stringify(i[m]))})}),localStorage.setItem("BnfTable-SettingsMigration",JSON.stringify({done:!0,version:r}))},c=()=>new URLSearchParams(window.location.search),g=e=>{const r=window.location.pathname+(e.toString()?`?${e.toString()}`:"")+window.location.hash;window.history.replaceState(null,"",r)},N={get length(){return Array.from(c().keys()).length},key(e){const r=c();return Array.from(r.keys())[e]??null},getItem(e){const a=c().get(e);return a??null},setItem(e,r){const a=c();a.set(e,r),g(a)},removeItem(e){const r=c();r.delete(e),g(r)},clear(){g(new URLSearchParams)}},v=["edit","delete","info","warning","check","check-simple","add","cancel","cancel-simple","danger","chevron-left","chevron-right","chevron-up","chevron-down","chevron-double-left","chevron-double-right","folder","folder-filled","file-download","file-upload","star-outline","save","link","pending","resizer-horizontal","qr-code","phone","mail","mail-envelope","dashboard","user","role","close","search","plus","minus","menu","arrow-right"];exports.atobUtf8=t.atobUtf8;exports.buildEmployeeNameString=t.buildEmployeeNameString;exports.buildOrgUnitString=t.buildOrgUnitString;exports.buildVehicleNameString=t.buildVehicleNameString;exports.capitalizeFirstLetter=t.capitalizeFirstLetter;exports.compareDate=t.compareDate;exports.compareDateTime=t.compareDateTime;exports.extractErrorsFromBlobResponse=t.extractErrorsFromBlobResponse;exports.extractErrorsFromResponse=t.extractErrorsFromResponse;exports.extractFilename=t.extractFilename;exports.extractPermissionsFromResponse=t.extractPermissionsFromResponse;exports.fixNameIdNulls=t.fixNameIdNulls;exports.formatDate=t.formatDate;exports.formatDateTime=t.formatDateTime;exports.formatFileSize=t.formatFileSize;exports.getDateString=t.getDateString;exports.getDaysDifference=t.getDaysDifference;exports.getFirstDayOfMonth=t.getFirstDayOfMonth;exports.getFirstDayOfOffsetMonth=t.getFirstDayOfOffsetMonth;exports.getFirstDayOfYear=t.getFirstDayOfYear;exports.getLastDayOfMonth=t.getLastDayOfMonth;exports.getLastDayOfOffsetMonth=t.getLastDayOfOffsetMonth;exports.getLastDayOfYear=t.getLastDayOfYear;exports.hasOnlyNullValues=t.hasOnlyNullValues;exports.hookFormSetServerErrors=t.hookFormSetServerErrors;exports.isExtensionOpenable=t.isExtensionOpenable;exports.isFileOpenable=t.isFileOpenable;exports.isISODate=t.isISODate;exports.isPrimitive=t.isPrimitive;exports.isValidDate=t.isValidDate;exports.joinStrings=t.joinStrings;exports.msToStartOfNextDay=t.msToStartOfNextDay;exports.replaceNullValuesOnlyObjectsWithNulls=t.replaceNullValuesOnlyObjectsWithNulls;exports.saveFile=t.saveFile;exports.saveFileFromResponse=t.saveFileFromResponse;exports.shortenText=t.shortenText;exports.stringContains=t.stringContains;exports.stringSearchWithin=t.stringSearchWithin;exports.stringStartsWith=t.stringStartsWith;exports.trimIsoDate=t.trimIsoDate;exports.truncateText=t.truncateText;exports.urlfyArray=t.urlfyArray;exports.dumpLocalStorage=u.dumpLocalStorage;exports.generateApiPath=u.generateApiPath;exports.hookFormSetNull=u.hookFormSetNull;exports.hookFormSetNulls=u.hookFormSetNulls;exports.limitNumber=u.limitNumber;exports.restoreLocalStorage=u.restoreLocalStorage;exports.CommonLuminusIconsArray=v;exports.adjustBrightness=b;exports.buildTableSearchQuery=T;exports.configToTanstackTableState=f;exports.dateValueFormat=y;exports.isFileStructureDirectory=F;exports.migrateBnfTableSettings=x;exports.numFormat=p;exports.queryStorage=N;exports.responsePromiseWrapper=D;exports.valueTooltip=h;exports.vclToHex=O;
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { aE as f, X as p } from "./nivo-bar-BUF7rNqx.js";
2
- import { ci as z, cg as A, ch as U, cf as $, ce as W, bZ as G, b_ as J, bV as Q, bp as X, c5 as Y, bW as q, bD as Z, aX as H, cd as K, ck as _, c4 as ee, b$ as te, bh as re, c1 as se, bi as ae, c0 as oe, c2 as ne, c3 as ie, c9 as le, bB as ce, c7 as me, c6 as ue, bX as ge, c8 as de, bY as fe, a0 as pe, bP as he, ca as Se, bk as be, bo as ye, cm as Oe, cb as Fe, ak as we, cc as De, bg as xe, cj as ve, cl as Te } from "./nivo-bar-BUF7rNqx.js";
1
+ import { aE as f, X as p } from "./nivo-bar-B0DQaqgI.js";
2
+ import { ci as z, cg as A, ch as U, cf as $, ce as W, bZ as G, b_ as J, bV as Q, bp as X, c5 as Y, bW as q, bD as Z, aX as H, cd as K, ck as _, c4 as ee, b$ as te, bh as re, c1 as se, bi as ae, c0 as oe, c2 as ne, c3 as ie, c9 as le, bB as ce, c7 as me, c6 as ue, bX as ge, c8 as de, bY as fe, a0 as pe, bP as he, ca as Se, bk as be, bo as ye, cm as Oe, cb as Fe, ak as we, cc as De, bg as xe, cj as ve, cl as Te } from "./nivo-bar-B0DQaqgI.js";
3
3
  import { jsx as c, Fragment as u } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@azure/msal-browser";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "2.0.5-beta.r19-14",
3
+ "version": "2.0.5-beta.r19-16",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {