@riab/illumis-components 1.0.18 → 1.0.19
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.
|
@@ -52025,7 +52025,7 @@ var TF = /* @__PURE__ */ Symbol(), Aie = ({
|
|
|
52025
52025
|
};
|
|
52026
52026
|
}
|
|
52027
52027
|
}), Iie = /* @__PURE__ */ wie(Aie());
|
|
52028
|
-
const Mie = "https://contributor-service
|
|
52028
|
+
const Mie = "https://contributor-service.complysci.com:443", kie = `${Mie}/pcv/api`, ji = Iie({
|
|
52029
52029
|
baseQuery: cie({
|
|
52030
52030
|
baseUrl: kie
|
|
52031
52031
|
}),
|
|
@@ -621,7 +621,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
621
621
|
`);n.setAttribute(sa,""),n.innerHTML=s}};function _P(e){e()}function NP(e,t){var n=typeof t=="function"?t:Yh;if(e.length===0)n();else{var i=_P;We.mutateApproach===Ej&&(i=ss.requestAnimationFrame||_P),i(function(){var o=yK(),r=CC.begin("mutate");e.map(o),r(),n()})}}var wC=!1;function BP(){wC=!0}function bC(){wC=!1}var Jh=null;function HP(e){if(E1&&We.observeMutations){var t=e.treeCallback,n=t===void 0?Yh:t,i=e.nodeCallback,o=i===void 0?Yh:i,r=e.pseudoElementsCallback,s=r===void 0?Yh:r,a=e.observeMutationsRoot,l=a===void 0?_t:a;Jh=new E1(function(u){if(!wC){var h=as();vl(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!LP(f.addedNodes[0])&&(We.searchPseudoElements&&s(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&We.searchPseudoElements&&s([f.target],!0),f.type==="attributes"&&LP(f.target)&&~kj.indexOf(f.attributeName))if(f.attributeName==="class"&&wK(f.target)){var g=qh(oC(f.target)),m=g.prefix,v=g.iconName;f.target.setAttribute(Zv,m||h),v&&f.target.setAttribute(Jv,v)}else bK(f.target)&&o(f.target)})}}),dr&&Jh.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function FK(){Jh&&Jh.disconnect()}function PK(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(i,o){var r=o.split(":"),s=r[0],a=r.slice(1);return s&&a.length>0&&(i[s]=a.join(":").trim()),i},{})),n}function EK(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"",o=qh(oC(e));return o.prefix||(o.prefix=as()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&i.length>0&&(o.iconName=Zj(o.prefix,e.innerText)||uC(o.prefix,mP(e.innerText))),!o.iconName&&We.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function DK(e){var t=vl(e.attributes).reduce(function(n,i){return n.name!=="class"&&n.name!=="style"&&(n[i.name]=i.value),n},{});return t}function TK(){return{iconName:null,prefix:null,transform:Bo,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function GP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=EK(e),i=n.iconName,o=n.prefix,r=n.rest,s=DK(e),a=dC("parseNodeAttributes",{},e),l=t.styleParser?PK(e):[];return ye({iconName:i,prefix:o,transform:Bo,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:s}},a)}var AK=uo.styles;function VP(e){var t=We.autoReplaceSvg==="nest"?GP(e,{styleParser:!1}):GP(e);return~t.extra.classes.indexOf(aP)?ls("generateLayersText",e,t):ls("generateSvgReplacementMutation",e,t)}function IK(){return[].concat(co(Q1),co(J1))}function WP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!dr)return Promise.resolve();var n=_t.documentElement.classList,i=function(f){return n.add("".concat(nP,"-").concat(f))},o=function(f){return n.remove("".concat(nP,"-").concat(f))},r=We.autoFetchSvg?IK():A1.concat(Object.keys(AK));r.includes("fa")||r.push("fa");var s=[".".concat(aP,":not([").concat(sa,"])")].concat(r.map(function(h){return".".concat(h,":not([").concat(sa,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=vl(e.querySelectorAll(s))}catch{}if(a.length>0)i("pending"),o("complete");else return Promise.resolve();var l=CC.begin("onTree"),u=a.reduce(function(h,f){try{var g=VP(f);g&&h.push(g)}catch(m){oP||m.name==="MissingIcon"&&console.error(m)}return h},[]);return new Promise(function(h,f){Promise.all(u).then(function(g){NP(g,function(){i("active"),i("complete"),o("pending"),typeof t=="function"&&t(),l(),h()})}).catch(function(g){l(),f(g)})})}function MK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;VP(e).then(function(n){n&&NP([n],t)})}function kK(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(t||{}).icon?t:hC(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:hC(o||{})),e(i,ye(ye({},n),{},{mask:o}))}}var LK=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,o=i===void 0?Bo:i,r=n.symbol,s=r===void 0?!1:r,a=n.mask,l=a===void 0?null:a,u=n.maskId,h=u===void 0?null:u,f=n.classes,g=f===void 0?[]:f,m=n.attributes,v=m===void 0?{}:m,w=n.styles,b=w===void 0?{}:w;if(t){var y=t.prefix,R=t.iconName,S=t.icon;return Qh(ye({type:"icon"},t),function(){return la("beforeDOMElementCreation",{iconDefinition:t,params:n}),fC({icons:{main:pC(S),mask:l?pC(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:R,transform:ye(ye({},Bo),o),symbol:s,maskId:h,extra:{attributes:v,styles:b,classes:g}})})}},OK={mixout:function(){return{icon:kK(LK)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=WP,n.nodeCallback=MK,n}}},provides:function(t){t.i2svg=function(n){var i=n.node,o=i===void 0?_t:i,r=n.callback,s=r===void 0?function(){}:r;return WP(o,s)},t.generateSvgReplacementMutation=function(n,i){var o=i.iconName,r=i.prefix,s=i.transform,a=i.symbol,l=i.mask,u=i.maskId,h=i.extra;return new Promise(function(f,g){Promise.all([mC(o,r),l.iconName?mC(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(m){var v=Vh(m,2),w=v[0],b=v[1];f([n,fC({icons:{main:w,mask:b},prefix:r,iconName:o,transform:s,symbol:a,maskId:u,extra:h,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var i=n.children,o=n.attributes,r=n.main,s=n.transform,a=n.styles,l=$h(a);l.length>0&&(o.style=l);var u;return rC(s)&&(u=ls("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),i.push(u||r.icon),{children:i,attributes:o}}}},_K={mixout:function(){return{layer:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.classes,r=o===void 0?[]:o;return Qh({type:"layer"},function(){la("beforeDOMElementCreation",{assembler:n,params:i});var s=[];return n(function(a){Array.isArray(a)?a.map(function(l){s=s.concat(l.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(We.cssPrefix,"-layers")].concat(co(r)).join(" ")},children:s}]})}}}},NK={mixout:function(){return{counter:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i.title;var o=i.classes,r=o===void 0?[]:o,s=i.attributes,a=s===void 0?{}:s,l=i.styles,u=l===void 0?{}:l;return Qh({type:"counter",content:n},function(){return la("beforeDOMElementCreation",{content:n,params:i}),pK({content:n.toString(),extra:{attributes:a,styles:u,classes:["".concat(We.cssPrefix,"-layers-counter")].concat(co(r))}})})}}}},BK={mixout:function(){return{text:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.transform,r=o===void 0?Bo:o,s=i.classes,a=s===void 0?[]:s,l=i.attributes,u=l===void 0?{}:l,h=i.styles,f=h===void 0?{}:h;return Qh({type:"text",content:n},function(){return la("beforeDOMElementCreation",{content:n,params:i}),IP({content:n,transform:ye(ye({},Bo),r),extra:{attributes:u,styles:f,classes:["".concat(We.cssPrefix,"-layers-text")].concat(co(a))}})})}}},provides:function(t){t.generateLayersText=function(n,i){var o=i.transform,r=i.extra,s=null,a=null;if(D1){var l=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();s=u.width/l,a=u.height/l}return Promise.resolve([n,IP({content:n.innerHTML,width:s,height:a,transform:o,extra:r,watchable:!0})])}}},zP=new RegExp('"',"ug"),UP=[1105920,1112319],$P=ye(ye(ye(ye({},{FontAwesome:{normal:"fas",400:"fas"}}),C$),Fj),E$),yC=Object.keys($P).reduce(function(e,t){return e[t.toLowerCase()]=$P[t],e},{}),HK=Object.keys(yC).reduce(function(e,t){var n=yC[t];return e[t]=n[900]||co(Object.entries(n))[0][1],e},{});function GK(e){var t=e.replace(zP,"");return mP(co(t)[0]||"")}function VK(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),i=n.replace(zP,""),o=i.codePointAt(0),r=o>=UP[0]&&o<=UP[1],s=i.length===2?i[0]===i[1]:!1;return r||s||t}function WK(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),o=isNaN(i)?"normal":i;return(yC[n]||{})[o]||HK[n]}function jP(e,t){var n="".concat(Pj).concat(t.replace(":","-"));return new Promise(function(i,o){if(e.getAttribute(n)!==null)return i();var r=vl(e.children),s=r.filter(function(A){return A.getAttribute(Yv)===t})[0],a=ss.getComputedStyle(e,t),l=a.getPropertyValue("font-family"),u=l.match(Ij),h=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(s&&!u)return e.removeChild(s),i();if(u&&f!=="none"&&f!==""){var g=a.getPropertyValue("content"),m=WK(l,h),v=GK(g),w=u[0].startsWith("FontAwesome"),b=VK(a),y=uC(m,v),R=y;if(w){var S=Jj(v);S.iconName&&S.prefix&&(y=S.iconName,m=S.prefix)}if(y&&!b&&(!s||s.getAttribute(Zv)!==m||s.getAttribute(Jv)!==R)){e.setAttribute(n,R),s&&e.removeChild(s);var P=TK(),F=P.extra;F.attributes[Yv]=t,mC(y,m).then(function(A){var k=fC(ye(ye({},P),{},{icons:{main:A,mask:PP()},prefix:m,iconName:R,extra:F,watchable:!0})),L=_t.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(L,e.firstChild):e.appendChild(L),L.outerHTML=k.map(function(N){return Yc(N)}).join(`
|
|
622
622
|
`),e.removeAttribute(n),i()}).catch(o)}else i()}else i()})}function zK(e){return Promise.all([jP(e,"::before"),jP(e,"::after")])}function UK(e){return e.parentNode!==document.head&&!~Dj.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Yv)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var $K=function(t){return!!t&&iP.some(function(n){return t.includes(n)})},jK=function(t){if(!t)return[];var n=new Set,i=t.split(/,(?![^()]*\))/).map(function(l){return l.trim()});i=i.flatMap(function(l){return l.includes("(")?l:l.split(",").map(function(u){return u.trim()})});var o=Gh(i),r;try{for(o.s();!(r=o.n()).done;){var s=r.value;if($K(s)){var a=iP.reduce(function(l,u){return l.replace(u,"")},s);a!==""&&a!=="*"&&n.add(a)}}}catch(l){o.e(l)}finally{o.f()}return n};function KP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dr){var n;if(t)n=e;else if(We.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var i=new Set,o=Gh(document.styleSheets),r;try{for(o.s();!(r=o.n()).done;){var s=r.value;try{var a=Gh(s.cssRules),l;try{for(a.s();!(l=a.n()).done;){var u=l.value,h=jK(u.selectorText),f=Gh(h),g;try{for(f.s();!(g=f.n()).done;){var m=g.value;i.add(m)}}catch(w){f.e(w)}finally{f.f()}}}catch(w){a.e(w)}finally{a.f()}}catch(w){We.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(w.message,`)
|
|
623
623
|
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(w){o.e(w)}finally{o.f()}if(!i.size)return;var v=Array.from(i).join(", ");try{n=e.querySelectorAll(v)}catch{}}return new Promise(function(w,b){var y=vl(n).filter(UK).map(zK),R=CC.begin("searchPseudoElements");BP(),Promise.all(y).then(function(){R(),bC(),w()}).catch(function(){R(),bC(),b()})})}}var KK={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=KP,n}}},provides:function(t){t.pseudoElements2svg=function(n){var i=n.node,o=i===void 0?_t:i;We.searchPseudoElements&&KP(o)}}},qP=!1,qK={mixout:function(){return{dom:{unwatch:function(){BP(),qP=!0}}}},hooks:function(){return{bootstrap:function(){HP(dC("mutationObserverCallbacks",{}))},noAuto:function(){FK()},watch:function(n){var i=n.observeMutationsRoot;qP?bC():HP(dC("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},QP=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(i,o){var r=o.toLowerCase().split("-"),s=r[0],a=r.slice(1).join("-");if(s&&a==="h")return i.flipX=!0,i;if(s&&a==="v")return i.flipY=!0,i;if(a=parseFloat(a),isNaN(a))return i;switch(s){case"grow":i.size=i.size+a;break;case"shrink":i.size=i.size-a;break;case"left":i.x=i.x-a;break;case"right":i.x=i.x+a;break;case"up":i.y=i.y-a;break;case"down":i.y=i.y+a;break;case"rotate":i.rotate=i.rotate+a;break}return i},n)},QK={mixout:function(){return{parse:{transform:function(n){return QP(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,i){var o=i.getAttribute("data-fa-transform");return o&&(n.transform=QP(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var i=n.main,o=n.transform,r=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(r/2," 256)")},l="translate(".concat(o.x*32,", ").concat(o.y*32,") "),u="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),h="rotate(".concat(o.rotate," 0 0)"),f={transform:"".concat(l," ").concat(u," ").concat(h)},g={transform:"translate(".concat(s/2*-1," -256)")},m={outer:a,inner:f,path:g};return{tag:"g",attributes:ye({},m.outer),children:[{tag:"g",attributes:ye({},m.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:ye(ye({},i.icon.attributes),m.path)}]}]}}}},SC={x:0,y:0,width:"100%",height:"100%"};function YP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function YK(e){return e.tag==="g"?e.children:[e]}var ZK={hooks:function(){return{parseNodeAttributes:function(n,i){var o=i.getAttribute("data-fa-mask"),r=o?qh(o.split(" ").map(function(s){return s.trim()})):PP();return r.prefix||(r.prefix=as()),n.mask=r,n.maskId=i.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var i=n.children,o=n.attributes,r=n.main,s=n.mask,a=n.maskId,l=n.transform,u=r.width,h=r.icon,f=s.width,g=s.icon,m=Wj({transform:l,containerWidth:f,iconWidth:u}),v={tag:"rect",attributes:ye(ye({},SC),{},{fill:"white"})},w=h.children?{children:h.children.map(YP)}:{},b={tag:"g",attributes:ye({},m.inner),children:[YP(ye({tag:h.tag,attributes:ye(ye({},h.attributes),m.path)},w))]},y={tag:"g",attributes:ye({},m.outer),children:[b]},R="mask-".concat(a||cP()),S="clip-".concat(a||cP()),P={tag:"mask",attributes:ye(ye({},SC),{},{id:R,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,y]},F={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:YK(g)},P]};return i.push(F,{tag:"rect",attributes:ye({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(R,")")},SC)}),{children:i,attributes:o}}}},JK={provides:function(t){var n=!1;ss.matchMedia&&(n=ss.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var i=[],o={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:ye(ye({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=ye(ye({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:ye(ye({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:ye(ye({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ye(ye({},s),{},{values:"1;0;1;1;0;1;"})}),i.push(a),i.push({tag:"path",attributes:ye(ye({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:ye(ye({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||i.push({tag:"path",attributes:ye(ye({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ye(ye({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},XK={hooks:function(){return{parseNodeAttributes:function(n,i){var o=i.getAttribute("data-fa-symbol"),r=o===null?!1:o===""?!0:o;return n.symbol=r,n}}}},eq=[$j,OK,_K,NK,BK,KK,qK,QK,ZK,JK,XK];aK(eq,{mixoutsTo:Ci}),Ci.noAuto,Ci.config;var bl=Ci.library;Ci.dom;var RC=Ci.parse;Ci.findIconDefinition,Ci.toHtml;var ZP=Ci.icon;Ci.layer,Ci.text,Ci.counter;var tq={prefix:"fas",iconName:"file-excel",icon:[384,512,[],"f1c3","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM164 266.7c-7.4-11-22.3-14-33.3-6.7s-14 22.3-6.7 33.3L163.2 352 124 410.7c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l28-42 28 42c7.4 11 22.3 14 33.3 6.7s14-22.3 6.7-33.3L220.8 352 260 293.3c7.4-11 4.4-25.9-6.7-33.3s-25.9-4.4-33.3 6.7l-28 42-28-42z"]},nq={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z"]},iq={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},oq=iq,rq={prefix:"fas",iconName:"table-columns",icon:[448,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z"]},sq=rq,aq={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},lq={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},cq={prefix:"fas",iconName:"file-pdf",icon:[576,512,[],"f1c1","M96 0C60.7 0 32 28.7 32 64l0 384c0 35.3 28.7 64 64 64l80 0 0-112c0-35.3 28.7-64 64-64l176 0 0-165.5c0-17-6.7-33.3-18.7-45.3L290.7 18.7C278.7 6.7 262.5 0 245.5 0L96 0zM357.5 176L264 176c-13.3 0-24-10.7-24-24L240 58.5 357.5 176zM240 380c-11 0-20 9-20 20l0 128c0 11 9 20 20 20s20-9 20-20l0-28 12 0c33.1 0 60-26.9 60-60s-26.9-60-60-60l-32 0zm32 80l-12 0 0-40 12 0c11 0 20 9 20 20s-9 20-20 20zm96-80c-11 0-20 9-20 20l0 128c0 11 9 20 20 20l32 0c28.7 0 52-23.3 52-52l0-64c0-28.7-23.3-52-52-52l-32 0zm20 128l0-88 12 0c6.6 0 12 5.4 12 12l0 64c0 6.6-5.4 12-12 12l-12 0zm88-108l0 128c0 11 9 20 20 20s20-9 20-20l0-44 28 0c11 0 20-9 20-20s-9-20-20-20l-28 0 0-24 28 0c11 0 20-9 20-20s-9-20-20-20l-48 0c-11 0-20 9-20 20z"]};function xC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function uq(e){if(Array.isArray(e))return xC(e)}function Bn(e,t,n){return(t=mq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dq(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
624
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JP(Object(n),!0).forEach(function(i){Bn(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JP(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function FC(e,t){if(e==null)return{};var n,i,o=fq(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fq(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function gq(e){return uq(e)||dq(e)||vq(e)||hq()}function pq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mq(e){var t=pq(e,"string");return typeof t=="symbol"?t:t+""}function Xh(e){"@babel/helpers - typeof";return Xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xh(e)}function vq(e,t){if(e){if(typeof e=="string")return xC(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xC(e,t):void 0}}function PC(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Bn({},e,t):{}}function Cq(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),Bn(Bn(Bn(Bn(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(n).map(function(i){return n[i]?i:null}).filter(function(i){return i})}var wq=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},XP={exports:{}};(function(e){(function(t){var n=function(y,R,S){if(!u(R)||f(R)||g(R)||m(R)||l(R))return R;var P,F=0,A=0;if(h(R))for(P=[],A=R.length;F<A;F++)P.push(n(y,R[F],S));else{P={};for(var k in R)Object.prototype.hasOwnProperty.call(R,k)&&(P[y(k,S)]=n(y,R[k],S))}return P},i=function(y,R){R=R||{};var S=R.separator||"_",P=R.split||/(?=[A-Z])/;return y.split(P).join(S)},o=function(y){return v(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(R,S){return S?S.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var R=o(y);return R.substr(0,1).toUpperCase()+R.substr(1)},s=function(y,R){return i(y,R).toLowerCase()},a=Object.prototype.toString,l=function(y){return typeof y=="function"},u=function(y){return y===Object(y)},h=function(y){return a.call(y)=="[object Array]"},f=function(y){return a.call(y)=="[object Date]"},g=function(y){return a.call(y)=="[object RegExp]"},m=function(y){return a.call(y)=="[object Boolean]"},v=function(y){return y=y-0,y===y},w=function(y,R){var S=R&&"process"in R?R.process:R;return typeof S!="function"?y:function(P,F){return S(P,y,F)}},b={camelize:o,decamelize:s,pascalize:r,depascalize:s,camelizeKeys:function(y,R){return n(w(o,R),y)},decamelizeKeys:function(y,R){return n(w(s,R),y,R)},pascalizeKeys:function(y,R){return n(w(r,R),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(wq)})(XP);var bq=XP.exports,yq=["gradientFill"],Sq=["class","style"],Rq=["type","stops","id"];function xq(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var i=n.indexOf(":"),o=bq.camelize(n.slice(0,i)),r=n.slice(i+1).trim();return t[o]=r,t},{})}function Fq(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Pq(e,t){return rc("stop",Wt({key:"".concat(t,"-").concat(e.offset),offset:e.offset,"stop-color":e.color},e.opacity!==void 0&&{"stop-opacity":e.opacity}))}function eE(e){if(typeof e=="string")return e;var t=(e.children||[]).map(eE);return e.tag==="path"&&e.attributes&&"fill"in e.attributes?Wt(Wt({},e),{},{attributes:Wt(Wt({},e.attributes),{},{fill:void 0}),children:t}):Wt(Wt({},e),{},{children:t})}function tE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var i=t.gradientFill,o=i===void 0?null:i,r=FC(t,yq),s=!!o||"fill"in n,a=s?eE(e):e,l=(a.children||[]).map(function(P){return tE(P,{},{})}),u=Object.keys(a.attributes||{}).reduce(function(P,F){var A=a.attributes[F];switch(F){case"class":P.class=Fq(A);break;case"style":P.style=xq(A);break;default:P.attrs[F]=A}return P},{attrs:{},class:{},style:{}});n.class;var h=n.style,f=h===void 0?{}:h,g=FC(n,Sq);if(o&&o.id&&(o.type==="linear"||o.type==="radial")){var m=o.type,v=o.stops,w=v===void 0?[]:v,b=o.id,y=FC(o,Rq),R=m==="linear"?"linearGradient":"radialGradient",S=rc(R,Wt(Wt({},y),{},{id:b}),w.map(Pq));return rc(a.tag,Wt(Wt(Wt(Wt({},r),{},{class:u.class,style:Wt(Wt({},u.style),f)},u.attrs),g),{},{fill:"url(#".concat(b,")")}),[S].concat(gq(l)))}return rc(e.tag,Wt(Wt(Wt({},r),{},{class:u.class,style:Wt(Wt({},u.style),f)},u.attrs),g),l)}var nE=!1;try{nE=!0}catch{}function iE(){if(!nE&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function oE(e){if(e&&Xh(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(RC.icon)return RC.icon(e);if(e===null)return null;if(Xh(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var EC=wt({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1},gradientFill:{type:Object,default:null,validator:function(t){return typeof t.id!="string"||!t.id?(console.warn("FontAwesomeIcon: gradientFill.id must be a non-empty string"),!1):t.type!=="linear"&&t.type!=="radial"?(console.warn('FontAwesomeIcon: gradientFill.type must be "linear" or "radial"'),!1):!0}}},setup:function(t,n){var i=n.attrs,o=de(function(){return oE(t.icon)}),r=de(function(){return PC("classes",Cq(t))}),s=de(function(){return PC("transform",typeof t.transform=="string"?RC.transform(t.transform):t.transform)}),a=de(function(){return PC("mask",oE(t.mask))}),l=de(function(){var h=Wt(Wt(Wt(Wt({},r.value),s.value),a.value),{},{symbol:t.symbol,maskId:t.maskId});return h.title=t.title,h.titleId=t.titleId,ZP(o.value,h)});Jt(l,function(h){if(!h)return iE("Could not find one or more icon(s)",o.value,a.value)},{immediate:!0}),t.gradientFill&&t.symbol&&iE("gradientFill is not supported when symbol is true and will be ignored");var u=de(function(){return l.value?tE(l.value.abstract[0],{gradientFill:t.symbol?null:t.gradientFill},i):null});return function(){return u.value}}});function Eq(){let e=null,t=null;return{clear(){e=null,t=null},notify(){let n=e;for(;n;)n.callback(),n=n.next},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!i||e===null||(i=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}const rE={notify(){},get:()=>[]};function Dq(e,t){let n,i=rE,o=0,r=!1;function s(w){h();const b=i.subscribe(w);let y=!1;return()=>{y||(y=!0,b(),f())}}function a(){i.notify()}function l(){v.onStateChange&&v.onStateChange()}function u(){return r}function h(){o++,n||(n=e.subscribe(l),i=Eq())}function f(){o--,n&&o===0&&(n(),n=void 0,i.clear(),i=rE)}function g(){r||(r=!0,h())}function m(){r&&(r=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:u,trySubscribe:g,tryUnsubscribe:m,getListeners:()=>i};return v}const cs=Symbol.for("vue-redux-context");function Tq({store:e}){const t=Dq(e);return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),{store:e,subscription:t}}function DC(e,{store:t,context:n}){const i=Tq({store:t}),o=n||cs;e.provide(o,i)}function TC(e=cs){return function(){return Kl(e)}}const sE=TC();function aE(e=cs){const t=e===cs?sE:TC(e),n=()=>{const{store:i}=t();return i};return Object.assign(n,{withTypes:()=>n}),n}const Aq=aE();function Iq(e=cs){const t=e===cs?Aq:aE(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}const Mq=Iq();function kq(e,t){let n=e;return{untrackedValue:{get(){return n},set(i){}},ref:sy((i,o)=>({get(){return i(),n},set(r){t(n,r)||(n=r,o())}}))}}const Lq=(e,t)=>e===t;function Oq(e=cs){const t=e===cs?sE:TC(e),n=(i,o={})=>{const{equalityFn:r=Lq}=typeof o=="function"?{equalityFn:o}:o,{store:s,subscription:a}=t(),l=kq(i(s.getState()),r);return Jt(()=>s,(u,h,f)=>{const g=a.addNestedSub(()=>{const m=i(s.getState());l.ref.value=m});f(()=>{g()})},{immediate:!0,deep:!1}),XI(l.ref)};return Object.assign(n,{withTypes:()=>n}),n}const _q=Oq();function Pn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Nq=typeof Symbol=="function"&&Symbol.observable||"@@observable",lE=Nq,AC=()=>Math.random().toString(36).substring(7).split("").join("."),Bq={INIT:`@@redux/INIT${AC()}`,REPLACE:`@@redux/REPLACE${AC()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${AC()}`},ef=Bq;function us(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function cE(e,t,n){if(typeof e!="function")throw new Error(Pn(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Pn(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Pn(1));return n(cE)(e,t)}let i=e,o=t,r=new Map,s=r,a=0,l=!1;function u(){s===r&&(s=new Map,r.forEach((b,y)=>{s.set(y,b)}))}function h(){if(l)throw new Error(Pn(3));return o}function f(b){if(typeof b!="function")throw new Error(Pn(4));if(l)throw new Error(Pn(5));let y=!0;u();const R=a++;return s.set(R,b),function(){if(y){if(l)throw new Error(Pn(6));y=!1,u(),s.delete(R),r=null}}}function g(b){if(!us(b))throw new Error(Pn(7));if(typeof b.type>"u")throw new Error(Pn(8));if(typeof b.type!="string")throw new Error(Pn(17));if(l)throw new Error(Pn(9));try{l=!0,o=i(o,b)}finally{l=!1}return(r=s).forEach(R=>{R()}),b}function m(b){if(typeof b!="function")throw new Error(Pn(10));i=b,g({type:ef.REPLACE})}function v(){const b=f;return{subscribe(y){if(typeof y!="object"||y===null)throw new Error(Pn(11));function R(){const P=y;P.next&&P.next(h())}return R(),{unsubscribe:b(R)}},[lE](){return this}}}return g({type:ef.INIT}),{dispatch:g,subscribe:f,getState:h,replaceReducer:m,[lE]:v}}function Hq(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:ef.INIT})>"u")throw new Error(Pn(12));if(typeof n(void 0,{type:ef.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pn(13))})}function uE(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const s=t[r];typeof e[s]=="function"&&(n[s]=e[s])}const i=Object.keys(n);let o;try{Hq(n)}catch(r){o=r}return function(s={},a){if(o)throw o;let l=!1;const u={};for(let h=0;h<i.length;h++){const f=i[h],g=n[f],m=s[f],v=g(m,a);if(typeof v>"u")throw a&&a.type,new Error(Pn(14));u[f]=v,l=l||v!==m}return l=l||i.length!==Object.keys(s).length,l?u:s}}function tf(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function Gq(...e){return t=>(n,i)=>{const o=t(n,i);let r=()=>{throw new Error(Pn(15))};const s={getState:o.getState,dispatch:(l,...u)=>r(l,...u)},a=e.map(l=>l(s));return r=tf(...a)(o.dispatch),{...o,dispatch:r}}}function dE(e){return us(e)&&"type"in e&&typeof e.type=="string"}var IC=Symbol.for("immer-nothing"),Xc=Symbol.for("immer-draftable"),vn=Symbol.for("immer-state");function En(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var wi=Object,ca=wi.getPrototypeOf,eu="constructor",tu="prototype",MC="configurable",nf="enumerable",of="writable",nu="value",bi=e=>!!e&&!!e[vn];function yi(e){return e?fE(e)||ru(e)||!!e[Xc]||!!e[eu]?.[Xc]||su(e)||au(e):!1}var Vq=wi[tu][eu].toString(),hE=new WeakMap;function fE(e){if(!e||!yl(e))return!1;const t=ca(e);if(t===null||t===wi[tu])return!0;const n=wi.hasOwnProperty.call(t,eu)&&t[eu];if(n===Object)return!0;if(!da(n))return!1;let i=hE.get(n);return i===void 0&&(i=Function.toString.call(n),hE.set(n,i)),i===Vq}function Wq(e){return bi(e)||En(15,e),e[vn].base_}function iu(e,t,n=!0){ua(e)===0?(n?Reflect.ownKeys(e):wi.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((i,o)=>t(o,i,e))}function ua(e){const t=e[vn];return t?t.type_:ru(e)?1:su(e)?2:au(e)?3:0}var ou=(e,t,n=ua(e))=>n===2?e.has(t):wi[tu].hasOwnProperty.call(e,t),gr=(e,t,n=ua(e))=>n===2?e.get(t):e[t],rf=(e,t,n,i=ua(e))=>{i===2?e.set(t,n):i===3?e.add(n):e[t]=n};function zq(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var ru=Array.isArray,su=e=>e instanceof Map,au=e=>e instanceof Set,yl=e=>typeof e=="object",da=e=>typeof e=="function",kC=e=>typeof e=="boolean";function Uq(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var $q=e=>yl(e)?e?.[vn]:null,pr=e=>e.copy_||e.base_,LC=e=>e.modified_?e.copy_:e.base_;function OC(e,t){if(su(e))return new Map(e);if(au(e))return new Set(e);if(ru(e))return Array[tu].slice.call(e);const n=fE(e);if(t===!0||t==="class_only"&&!n){const i=wi.getOwnPropertyDescriptors(e);delete i[vn];let o=Reflect.ownKeys(i);for(let r=0;r<o.length;r++){const s=o[r],a=i[s];a[of]===!1&&(a[of]=!0,a[MC]=!0),(a.get||a.set)&&(i[s]={[MC]:!0,[of]:!0,[nf]:a[nf],[nu]:e[s]})}return wi.create(ca(e),i)}else{const i=ca(e);if(i!==null&&n)return{...e};const o=wi.create(i);return wi.assign(o,e)}}function _C(e,t=!1){return af(e)||bi(e)||!yi(e)||(ua(e)>1&&wi.defineProperties(e,{set:sf,add:sf,clear:sf,delete:sf}),wi.freeze(e),t&&iu(e,(n,i)=>{_C(i,!0)},!1)),e}function jq(){En(2)}var sf={[nu]:jq};function af(e){return e===null||!yl(e)?!0:wi.isFrozen(e)}var lf="MapSet",cf="Patches",gE="ArrayMethods",uf={};function ha(e){const t=uf[e];return t||En(0,e),t}var pE=e=>!!uf[e];function Kq(e,t){uf[e]||(uf[e]=t)}var lu,mE=()=>lu,qq=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:pE(lf)?ha(lf):void 0,arrayMethodsPlugin_:pE(gE)?ha(gE):void 0});function vE(e,t){t&&(e.patchPlugin_=ha(cf),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function NC(e){BC(e),e.drafts_.forEach(Qq),e.drafts_=null}function BC(e){e===lu&&(lu=e.parent_)}var CE=e=>lu=qq(lu,e);function Qq(e){const t=e[vn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wE(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[vn].modified_&&(NC(t),En(4)),yi(e)&&(e=bE(t,e));const{patchPlugin_:o}=t;o&&o.generateReplacementPatches_(n[vn].base_,e,t)}else e=bE(t,n);return Yq(t,e,!0),NC(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==IC?e:void 0}function bE(e,t){if(af(t))return t;const n=t[vn];if(!n)return hf(t,e.handledSet_,e);if(!df(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:i}=n;if(i)for(;i.length>0;)i.pop()(e);RE(n,e)}return n.copy_}function Yq(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_C(t,n)}function yE(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var df=(e,t)=>e.scope_===t,Zq=[];function SE(e,t,n,i){const o=pr(e),r=e.type_;if(i!==void 0&&gr(o,i,r)===t){rf(o,i,n,r);return}if(!e.draftLocations_){const a=e.draftLocations_=new Map;iu(o,(l,u)=>{if(bi(u)){const h=a.get(u)||[];h.push(l),a.set(u,h)}})}const s=e.draftLocations_.get(t)??Zq;for(const a of s)rf(o,a,n,r)}function Jq(e,t,n){e.callbacks_.push(function(o){const r=t;if(!r||!df(r,o))return;o.mapSetPlugin_?.fixSetContents(r);const s=LC(r);SE(e,r.draft_??r,s,n),RE(r,o)})}function RE(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:i}=t;if(i){const o=i.getPath(e);o&&i.generatePatches_(e,o,t)}yE(e)}}function Xq(e,t,n){const{scope_:i}=e;if(bi(n)){const o=n[vn];df(o,i)&&o.callbacks_.push(function(){gf(e);const s=LC(o);SE(e,n,s,t)})}else yi(n)&&e.callbacks_.push(function(){const r=pr(e);e.type_===3?r.has(n)&&hf(n,i.handledSet_,i):gr(r,t,e.type_)===n&&i.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&hf(gr(e.copy_,t,e.type_),i.handledSet_,i)})}function hf(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||bi(e)||t.has(e)||!yi(e)||af(e)||(t.add(e),iu(e,(i,o)=>{if(bi(o)){const r=o[vn];if(df(r,n)){const s=LC(r);rf(e,i,s,e.type_),yE(r)}}else yi(o)&&hf(o,t,n)})),e}function eQ(e,t){const n=ru(e),i={type_:n?1:0,scope_:t?t.scope_:mE(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=i,r=ff;n&&(o=[i],r=cu);const{revoke:s,proxy:a}=Proxy.revocable(o,r);return i.draft_=a,i.revoke_=s,[a,i]}var ff={get(e,t){if(t===vn)return e;let n=e.scope_.arrayMethodsPlugin_;const i=e.type_===1&&typeof t=="string";if(i&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const o=pr(e);if(!ou(o,t,e.type_))return tQ(e,o,t);const r=o[t];if(e.finalized_||!yi(r)||i&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Uq(t))return r;if(r===HC(e.base_,t)){gf(e);const s=e.type_===1?+t:t,a=VC(e.scope_,r,e,s);return e.copy_[s]=a}return r},has(e,t){return t in pr(e)},ownKeys(e){return Reflect.ownKeys(pr(e))},set(e,t,n){const i=xE(pr(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=HC(pr(e),t),r=o?.[vn];if(r&&r.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(zq(n,o)&&(n!==void 0||ou(e.base_,t,e.type_)))return!0;gf(e),GC(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),Xq(e,t,n)),!0},deleteProperty(e,t){return gf(e),HC(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),GC(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=pr(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{[of]:!0,[MC]:e.type_!==1||t!=="length",[nf]:i[nf],[nu]:n[t]}},defineProperty(){En(11)},getPrototypeOf(e){return ca(e.base_)},setPrototypeOf(){En(12)}},cu={};for(let e in ff){let t=ff[e];cu[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}cu.deleteProperty=function(e,t){return cu.set.call(this,e,t,void 0)},cu.set=function(e,t,n){return ff.set.call(this,e[0],t,n,e[0])};function HC(e,t){const n=e[vn];return(n?pr(n):e)[t]}function tQ(e,t,n){const i=xE(t,n);return i?nu in i?i[nu]:i.get?.call(e.draft_):void 0}function xE(e,t){if(!(t in e))return;let n=ca(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=ca(n)}}function GC(e){e.modified_||(e.modified_=!0,e.parent_&&GC(e.parent_))}function gf(e){e.copy_||(e.assigned_=new Map,e.copy_=OC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var nQ=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,i)=>{if(da(t)&&!da(n)){const r=n;n=t;const s=this;return function(l=r,...u){return s.produce(l,h=>n.call(this,h,...u))}}da(n)||En(6),i!==void 0&&!da(i)&&En(7);let o;if(yi(t)){const r=CE(this),s=VC(r,t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?NC(r):BC(r)}return vE(r,i),wE(o,r)}else if(!t||!yl(t)){if(o=n(t),o===void 0&&(o=t),o===IC&&(o=void 0),this.autoFreeze_&&_C(o,!0),i){const r=[],s=[];ha(cf).generateReplacementPatches_(t,o,{patches_:r,inversePatches_:s}),i(r,s)}return o}else En(1,t)},this.produceWithPatches=(t,n)=>{if(da(t))return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let i,o;return[this.produce(t,n,(s,a)=>{i=s,o=a}),i,o]},kC(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),kC(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),kC(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){yi(e)||En(8),bi(e)&&(e=FE(e));const t=CE(this),n=VC(t,e,void 0);return n[vn].isManual_=!0,BC(t),n}finishDraft(e,t){const n=e&&e[vn];(!n||!n.isManual_)&&En(9);const{scope_:i}=n;return vE(i,t),wE(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=ha(cf).applyPatches_;return bi(e)?i(e,t):this.produce(e,o=>i(o,t))}};function VC(e,t,n,i){const[o,r]=su(t)?ha(lf).proxyMap_(t,n):au(t)?ha(lf).proxySet_(t,n):eQ(t,n);return(n?.scope_??mE()).drafts_.push(o),r.callbacks_=n?.callbacks_??[],r.key_=i,n&&i!==void 0?Jq(n,r,i):r.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(r);const{patchPlugin_:u}=l;r.modified_&&u&&u.generatePatches_(r,[],l)}),o}function FE(e){return bi(e)||En(10,e),PE(e)}function PE(e){if(!yi(e)||af(e))return e;const t=e[vn];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=OC(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=OC(e,!0);return iu(n,(o,r)=>{rf(n,o,PE(r))},i),t&&(t.finalized_=!1),n}function iQ(){function t(v,w=[]){if(v.key_!==void 0){const b=v.parent_.copy_??v.parent_.base_,y=$q(gr(b,v.key_)),R=gr(b,v.key_);if(R===void 0||R!==v.draft_&&R!==v.base_&&R!==v.copy_||y!=null&&y.base_!==v.base_)return null;const S=v.parent_.type_===3;let P;if(S){const F=v.parent_;P=Array.from(F.drafts_.keys()).indexOf(v.key_)}else P=v.key_;if(!(S&&b.size>P||ou(b,P)))return null;w.push(P)}if(v.parent_)return t(v.parent_,w);w.reverse();try{n(v.copy_,w)}catch{return null}return w}function n(v,w){let b=v;for(let y=0;y<w.length-1;y++){const R=w[y];if(b=gr(b,R),!yl(b)||b===null)throw new Error(`Cannot resolve path at '${w.join("/")}'`)}return b}const i="replace",o="add",r="remove";function s(v,w,b){if(v.scope_.processedForPatches_.has(v))return;v.scope_.processedForPatches_.add(v);const{patches_:y,inversePatches_:R}=b;switch(v.type_){case 0:case 2:return l(v,w,y,R);case 1:return a(v,w,y,R);case 3:return u(v,w,y,R)}}function a(v,w,b,y){let{base_:R,assigned_:S}=v,P=v.copy_;P.length<R.length&&([R,P]=[P,R],[b,y]=[y,b]);const F=v.allIndicesReassigned_===!0;for(let A=0;A<R.length;A++){const k=P[A],L=R[A];if((F||S?.get(A.toString()))&&k!==L){const M=k?.[vn];if(M&&M.modified_)continue;const E=w.concat([A]);b.push({op:i,path:E,value:m(k)}),y.push({op:i,path:E,value:m(L)})}}for(let A=R.length;A<P.length;A++){const k=w.concat([A]);b.push({op:o,path:k,value:m(P[A])})}for(let A=P.length-1;R.length<=A;--A){const k=w.concat([A]);y.push({op:r,path:k})}}function l(v,w,b,y){const{base_:R,copy_:S,type_:P}=v;iu(v.assigned_,(F,A)=>{const k=gr(R,F,P),L=gr(S,F,P),N=A?ou(R,F)?i:o:r;if(k===L&&N===i)return;const M=w.concat(F);b.push(N===r?{op:N,path:M}:{op:N,path:M,value:m(L)}),y.push(N===o?{op:r,path:M}:N===r?{op:o,path:M,value:m(k)}:{op:i,path:M,value:m(k)})})}function u(v,w,b,y){let{base_:R,copy_:S}=v,P=0;R.forEach(F=>{if(!S.has(F)){const A=w.concat([P]);b.push({op:r,path:A,value:F}),y.unshift({op:o,path:A,value:F})}P++}),P=0,S.forEach(F=>{if(!R.has(F)){const A=w.concat([P]);b.push({op:o,path:A,value:F}),y.unshift({op:r,path:A,value:F})}P++})}function h(v,w,b){const{patches_:y,inversePatches_:R}=b;y.push({op:i,path:[],value:w===IC?void 0:w}),R.push({op:i,path:[],value:v})}function f(v,w){return w.forEach(b=>{const{path:y,op:R}=b;let S=v;for(let k=0;k<y.length-1;k++){const L=ua(S);let N=y[k];typeof N!="string"&&typeof N!="number"&&(N=""+N),(L===0||L===1)&&(N==="__proto__"||N===eu)&&En(19),da(S)&&N===tu&&En(19),S=gr(S,N),yl(S)||En(18,y.join("/"))}const P=ua(S),F=g(b.value),A=y[y.length-1];switch(R){case i:switch(P){case 2:return S.set(A,F);case 3:En(16);default:return S[A]=F}case o:switch(P){case 1:return A==="-"?S.push(F):S.splice(A,0,F);case 2:return S.set(A,F);case 3:return S.add(F);default:return S[A]=F}case r:switch(P){case 1:return S.splice(A,1);case 2:return S.delete(A);case 3:return S.delete(b.value);default:return delete S[A]}default:En(17,R)}}),v}function g(v){if(!yi(v))return v;if(ru(v))return v.map(g);if(su(v))return new Map(Array.from(v.entries()).map(([b,y])=>[b,g(y)]));if(au(v))return new Set(Array.from(v).map(g));const w=Object.create(ca(v));for(const b in v)w[b]=g(v[b]);return ou(v,Xc)&&(w[Xc]=v[Xc]),w}function m(v){return bi(v)?g(v):v}Kq(cf,{applyPatches_:f,generatePatches_:s,generateReplacementPatches_:h,getPath:t})}var uu=new nQ,du=uu.produce,EE=uu.produceWithPatches.bind(uu),DE=uu.applyPatches.bind(uu);function oQ(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function rQ(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function sQ(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var TE=e=>Array.isArray(e)?e:[e];function aQ(e){const t=Array.isArray(e[0])?e[0]:e;return sQ(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function lQ(e,t){const n=[],{length:i}=e;for(let o=0;o<i;o++)n.push(e[o].apply(null,t));return n}var cQ=class{constructor(e){this.value=e}deref(){return this.value}},uQ=typeof WeakRef<"u"?WeakRef:cQ,dQ=0,AE=1;function pf(){return{s:dQ,v:void 0,o:null,p:null}}function mf(e,t={}){let n=pf();const{resultEqualityCheck:i}=t;let o,r=0;function s(){let a=n;const{length:l}=arguments;for(let f=0,g=l;f<g;f++){const m=arguments[f];if(typeof m=="function"||typeof m=="object"&&m!==null){let v=a.o;v===null&&(a.o=v=new WeakMap);const w=v.get(m);w===void 0?(a=pf(),v.set(m,a)):a=w}else{let v=a.p;v===null&&(a.p=v=new Map);const w=v.get(m);w===void 0?(a=pf(),v.set(m,a)):a=w}}const u=a;let h;if(a.s===AE)h=a.v;else if(h=e.apply(null,arguments),r++,i){const f=o?.deref?.()??o;f!=null&&i(f,h)&&(h=f,r!==0&&r--),o=typeof h=="object"&&h!==null||typeof h=="function"?new uQ(h):h}return u.s=AE,u.v=h,h}return s.clearCache=()=>{n=pf(),s.resetResultsCount()},s.resultsCount=()=>r,s.resetResultsCount=()=>{r=0},s}function hQ(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...o)=>{let r=0,s=0,a,l={},u=o.pop();typeof u=="object"&&(l=u,u=o.pop()),oQ(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const h={...n,...l},{memoize:f,memoizeOptions:g=[],argsMemoize:m=mf,argsMemoizeOptions:v=[]}=h,w=TE(g),b=TE(v),y=aQ(o),R=f(function(){return r++,u.apply(null,arguments)},...w),S=m(function(){s++;const F=lQ(y,arguments);return a=R.apply(null,F),a},...b);return Object.assign(S,{resultFunc:u,memoizedResultFunc:R,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:f,argsMemoize:m})};return Object.assign(i,{withTypes:()=>i}),i}var IE=hQ(mf),fQ=Object.assign((e,t=IE)=>{rQ(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(r=>e[r]);return t(i,(...r)=>r.reduce((s,a,l)=>(s[n[l]]=a,s),{}))},{withTypes:()=>fQ});function ME(e){return({dispatch:n,getState:i})=>o=>r=>typeof r=="function"?r(n,i,e):o(r)}var gQ=ME(),pQ=ME,mQ=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tf:tf.apply(null,arguments)},vQ=e=>e&&typeof e.match=="function";function ho(e,t){function n(...i){if(t){let o=t(...i);if(!o)throw new Error(Ho(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>dE(i)&&i.type===e,n}var kE=class zu extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,zu.prototype)}static get[Symbol.species](){return zu}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new zu(...t[0].concat(this)):new zu(...t.concat(this))}};function LE(e){return yi(e)?du(e,()=>{}):e}function vf(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function CQ(e){return typeof e=="boolean"}var wQ=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:o=!0,actionCreatorCheck:r=!0}=t??{};let s=new kE;return n&&(CQ(n)?s.push(gQ):s.push(pQ(n.extraArgument))),s},Cf="RTK_autoBatch",hu=()=>e=>({payload:e,meta:{[Cf]:!0}}),OE=e=>t=>{setTimeout(t,e)},bQ=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let o=!0,r=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:OE(10):e.type==="callback"?e.queueNotification:OE(e.timeout),u=()=>{s=!1,r&&(r=!1,a.forEach(h=>h()))};return Object.assign({},i,{subscribe(h){const f=()=>o&&h(),g=i.subscribe(f);return a.add(h),()=>{g(),a.delete(h)}},dispatch(h){try{return o=!h?.meta?.[Cf],r=!o,r&&(s||(s=!0,l(u))),i.dispatch(h)}finally{o=!0}}})},yQ=e=>function(n){const{autoBatch:i=!0}=n??{};let o=new kE(e);return i&&o.push(bQ(typeof i=="object"?i:void 0)),o};function SQ(e){const t=wQ(),{reducer:n=void 0,middleware:i,devTools:o=!0,preloadedState:r=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(us(n))a=uE(n);else throw new Error(Ho(1));let l;typeof i=="function"?l=i(t):l=t();let u=tf;o&&(u=mQ({trace:!1,...typeof o=="object"&&o}));const h=Gq(...l),f=yQ(h);let g=typeof s=="function"?s(f):f();const m=u(...g);return cE(a,r,m)}function _E(e){const t={},n=[];let i;const o={addCase(r,s){const a=typeof r=="string"?r:r.type;if(!a)throw new Error(Ho(28));if(a in t)throw new Error(Ho(29));return t[a]=s,o},addAsyncThunk(r,s){return s.pending&&(t[r.pending.type]=s.pending),s.rejected&&(t[r.rejected.type]=s.rejected),s.fulfilled&&(t[r.fulfilled.type]=s.fulfilled),s.settled&&n.push({matcher:r.settled,reducer:s.settled}),o},addMatcher(r,s){return n.push({matcher:r,reducer:s}),o},addDefaultCase(r){return i=r,o}};return e(o),[t,n,i]}function RQ(e){return typeof e=="function"}function xQ(e,t){let[n,i,o]=_E(t),r;if(RQ(e))r=()=>LE(e());else{const a=LE(e);r=()=>a}function s(a=r(),l){let u=[n[l.type],...i.filter(({matcher:h})=>h(l)).map(({reducer:h})=>h)];return u.filter(h=>!!h).length===0&&(u=[o]),u.reduce((h,f)=>{if(f)if(bi(h)){const m=f(h,l);return m===void 0?h:m}else{if(yi(h))return du(h,g=>f(g,l));{const g=f(h,l);if(g===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return g}}return h},a)}return s.getInitialState=r,s}var NE=(e,t)=>vQ(e)?e.match(t):e(t);function mr(...e){return t=>e.some(n=>NE(n,t))}function fu(...e){return t=>e.every(n=>NE(n,t))}function wf(e,t){if(!e||!e.meta)return!1;const n=typeof e.meta.requestId=="string",i=t.indexOf(e.meta.requestStatus)>-1;return n&&i}function gu(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function WC(...e){return e.length===0?t=>wf(t,["pending"]):gu(e)?mr(...e.map(t=>t.pending)):WC()(e[0])}function Sl(...e){return e.length===0?t=>wf(t,["rejected"]):gu(e)?mr(...e.map(t=>t.rejected)):Sl()(e[0])}function bf(...e){const t=n=>n&&n.meta&&n.meta.rejectedWithValue;return e.length===0?fu(Sl(...e),t):gu(e)?fu(Sl(...e),t):bf()(e[0])}function ds(...e){return e.length===0?t=>wf(t,["fulfilled"]):gu(e)?mr(...e.map(t=>t.fulfilled)):ds()(e[0])}function zC(...e){return e.length===0?t=>wf(t,["pending","fulfilled","rejected"]):gu(e)?mr(...e.flatMap(t=>[t.pending,t.rejected,t.fulfilled])):zC()(e[0])}var FQ="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",UC=(e=21)=>{let t="",n=e;for(;n--;)t+=FQ[Math.random()*64|0];return t},PQ=["name","message","stack","code"],$C=class{constructor(e,t){this.payload=e,this.meta=t}_type},BE=class{constructor(e,t){this.payload=e,this.meta=t}_type},EQ=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of PQ)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},HE="External signal was aborted",GE=(()=>{function e(t,n,i){const o=ho(t+"/fulfilled",(l,u,h,f)=>({payload:l,meta:{...f||{},arg:h,requestId:u,requestStatus:"fulfilled"}})),r=ho(t+"/pending",(l,u,h)=>({payload:void 0,meta:{...h||{},arg:u,requestId:l,requestStatus:"pending"}})),s=ho(t+"/rejected",(l,u,h,f,g)=>({payload:f,error:(i&&i.serializeError||EQ)(l||"Rejected"),meta:{...g||{},arg:h,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:l?.name==="AbortError",condition:l?.name==="ConditionError"}}));function a(l,{signal:u}={}){return(h,f,g)=>{const m=i?.idGenerator?i.idGenerator(l):UC(),v=new AbortController;let w,b;function y(S){b=S,v.abort()}u&&(u.aborted?y(HE):u.addEventListener("abort",()=>y(HE),{once:!0}));const R=(async function(){let S;try{let F=i?.condition?.(l,{getState:f,extra:g});if(TQ(F)&&(F=await F),F===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const A=new Promise((k,L)=>{w=()=>{L({name:"AbortError",message:b||"Aborted"})},v.signal.addEventListener("abort",w,{once:!0})});h(r(m,l,i?.getPendingMeta?.({requestId:m,arg:l},{getState:f,extra:g}))),S=await Promise.race([A,Promise.resolve(n(l,{dispatch:h,getState:f,extra:g,requestId:m,signal:v.signal,abort:y,rejectWithValue:(k,L)=>new $C(k,L),fulfillWithValue:(k,L)=>new BE(k,L)})).then(k=>{if(k instanceof $C)throw k;return k instanceof BE?o(k.payload,m,l,k.meta):o(k,m,l)})])}catch(F){S=F instanceof $C?s(null,m,l,F.payload,F.meta):s(F,m,l)}finally{w&&v.signal.removeEventListener("abort",w)}return i&&!i.dispatchConditionRejection&&s.match(S)&&S.meta.condition||h(S),S})();return Object.assign(R,{abort:y,requestId:m,arg:l,unwrap(){return R.then(DQ)}})}}return Object.assign(a,{pending:r,rejected:s,fulfilled:o,settled:mr(s,o),typePrefix:t})}return e.withTypes=()=>e,e})();function DQ(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function TQ(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var AQ=Symbol.for("rtk-slice-createasyncthunk");function IQ(e,t){return`${e}/${t}`}function MQ({creators:e}={}){const t=e?.asyncThunk?.[AQ];return function(i){const{name:o,reducerPath:r=o}=i;if(!o)throw new Error(Ho(11));const s=(typeof i.reducers=="function"?i.reducers(LQ()):i.reducers)||{},a=Object.keys(s),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(S,P){const F=typeof S=="string"?S:S.type;if(!F)throw new Error(Ho(12));if(F in l.sliceCaseReducersByType)throw new Error(Ho(13));return l.sliceCaseReducersByType[F]=P,u},addMatcher(S,P){return l.sliceMatchers.push({matcher:S,reducer:P}),u},exposeAction(S,P){return l.actionCreators[S]=P,u},exposeCaseReducer(S,P){return l.sliceCaseReducersByName[S]=P,u}};a.forEach(S=>{const P=s[S],F={reducerName:S,type:IQ(o,S),createNotation:typeof i.reducers=="function"};_Q(P)?BQ(F,P,u,t):OQ(F,P,u)});function h(){const[S={},P=[],F=void 0]=typeof i.extraReducers=="function"?_E(i.extraReducers):[i.extraReducers],A={...S,...l.sliceCaseReducersByType};return xQ(i.initialState,k=>{for(let L in A)k.addCase(L,A[L]);for(let L of l.sliceMatchers)k.addMatcher(L.matcher,L.reducer);for(let L of P)k.addMatcher(L.matcher,L.reducer);F&&k.addDefaultCase(F)})}const f=S=>S,g=new Map,m=new WeakMap;let v;function w(S,P){return v||(v=h()),v(S,P)}function b(){return v||(v=h()),v.getInitialState()}function y(S,P=!1){function F(k){let L=k[S];return typeof L>"u"&&P&&(L=vf(m,F,b)),L}function A(k=f){const L=vf(g,P,()=>new WeakMap);return vf(L,k,()=>{const N={};for(const[M,E]of Object.entries(i.selectors??{}))N[M]=kQ(E,k,()=>vf(m,k,b),P);return N})}return{reducerPath:S,getSelectors:A,get selectors(){return A(F)},selectSlice:F}}const R={name:o,reducer:w,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:b,...y(r),injectInto(S,{reducerPath:P,...F}={}){const A=P??r;return S.inject({reducerPath:A,reducer:w},F),{...R,...y(A,!0)}}};return R}}function kQ(e,t,n,i){function o(r,...s){let a=t(r);return typeof a>"u"&&i&&(a=n()),e(a,...s)}return o.unwrapped=e,o}var fa=MQ();function LQ(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function OQ({type:e,reducerName:t,createNotation:n},i,o){let r,s;if("reducer"in i){if(n&&!NQ(i))throw new Error(Ho(17));r=i.reducer,s=i.prepare}else r=i;o.addCase(e,r).exposeCaseReducer(t,r).exposeAction(t,s?ho(e,s):ho(e))}function _Q(e){return e._reducerDefinitionType==="asyncThunk"}function NQ(e){return e._reducerDefinitionType==="reducerWithPrepare"}function BQ({type:e,reducerName:t},n,i,o){if(!o)throw new Error(Ho(18));const{payloadCreator:r,fulfilled:s,pending:a,rejected:l,settled:u,options:h}=n,f=o(e,r,h);i.exposeAction(t,f),s&&i.addCase(f.fulfilled,s),a&&i.addCase(f.pending,a),l&&i.addCase(f.rejected,l),u&&i.addMatcher(f.settled,u),i.exposeCaseReducer(t,{fulfilled:s||yf,pending:a||yf,rejected:l||yf,settled:u||yf})}function yf(){}function Ho(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var HQ=class extends Error{issues;constructor(e){super(e[0].message),this.name="SchemaError",this.issues=e}},vr="uninitialized",jC="pending",pu="fulfilled",mu="rejected";function VE(e){return{status:e,isUninitialized:e===vr,isLoading:e===jC,isSuccess:e===pu,isError:e===mu}}var WE=us;function zE(e,t){if(e===t||!(WE(e)&&WE(t)||Array.isArray(e)&&Array.isArray(t)))return t;const n=Object.keys(t),i=Object.keys(e);let o=n.length===i.length;const r=Array.isArray(t)?[]:{};for(const s of n)r[s]=zE(e[s],t[s]),o&&(o=e[s]===r[s]);return o?e:r}function KC(e,t,n){return e.reduce((i,o,r)=>(t(o,r)&&i.push(n(o,r)),i),[]).flat()}function GQ(e){return new RegExp("(^|:)//").test(e)}function VQ(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}function qC(e){return e!=null}function UE(e){return[...e?.values()??[]].filter(qC)}function WQ(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}var zQ=e=>e.replace(/\/$/,""),UQ=e=>e.replace(/^\//,"");function $Q(e,t){if(!e)return t;if(!t)return e;if(GQ(t))return t;const n=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zQ(e),t=UQ(t),`${e}${n}${t}`}function Sf(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}var QC=()=>new Map,jQ=e=>{const t=new AbortController;return setTimeout(()=>{const n="signal timed out",i="TimeoutError";t.abort(typeof DOMException<"u"?new DOMException(n,i):Object.assign(new Error(n),{name:i}))},e),t.signal},KQ=(...e)=>{for(const n of e)if(n.aborted)return AbortSignal.abort(n.reason);const t=new AbortController;for(const n of e)n.addEventListener("abort",()=>t.abort(n.reason),{signal:t.signal,once:!0});return t.signal},$E=(...e)=>fetch(...e),qQ=e=>e.status>=200&&e.status<=299,QQ=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function jE(e){if(!us(e))return e;const t={...e};for(const[n,i]of Object.entries(t))i===void 0&&delete t[n];return t}var YQ=e=>typeof e=="object"&&(us(e)||Array.isArray(e)||typeof e.toJSON=="function");function ZQ({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:n=$E,paramsSerializer:i,isJsonContentType:o=QQ,jsonContentType:r="application/json",jsonReplacer:s,timeout:a,responseHandler:l,validateStatus:u,...h}={}){return typeof fetch>"u"&&n===$E&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(g,m,v)=>{const{getState:w,extra:b,endpoint:y,forced:R,type:S}=m;let P,{url:F,headers:A=new Headers(h.headers),params:k=void 0,responseHandler:L=l??"json",validateStatus:N=u??qQ,timeout:M=a,...E}=typeof g=="string"?{url:g}:g,I={...h,signal:M?KQ(m.signal,jQ(M)):m.signal,...E};A=new Headers(jE(A)),I.headers=await t(A,{getState:w,arg:g,extra:b,endpoint:y,forced:R,type:S,extraOptions:v})||A;const B=YQ(I.body);if(I.body!=null&&!B&&typeof I.body!="string"&&I.headers.delete("content-type"),!I.headers.has("content-type")&&B&&I.headers.set("content-type",r),B&&o(I.headers)&&(I.body=JSON.stringify(I.body,s)),I.headers.has("accept")||(L==="json"?I.headers.set("accept","application/json"):L==="text"&&I.headers.set("accept","text/plain, text/html, */*")),k){const oe=~F.indexOf("?")?"&":"?",H=i?i(k):new URLSearchParams(jE(k));F+=oe+H}F=$Q(e,F);const W=new Request(F,I);P={request:new Request(F,I)};let me;try{me=await n(W)}catch(oe){return{error:{status:(oe instanceof Error||typeof DOMException<"u"&&oe instanceof DOMException)&&oe.name==="TimeoutError"?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(oe)},meta:P}}const fe=me.clone();P.response=fe;let ve,De="";try{let oe;if(await Promise.all([f(me,L).then(H=>ve=H,H=>oe=H),fe.text().then(H=>De=H,()=>{})]),oe)throw oe}catch(oe){return{error:{status:"PARSING_ERROR",originalStatus:me.status,data:De,error:String(oe)},meta:P}}return N(me,ve)?{data:ve,meta:P}:{error:{status:me.status,data:ve},meta:P}};async function f(g,m){if(typeof m=="function")return m(g);if(m==="content-type"&&(m=o(g.headers)?"json":"text"),m==="json"){const v=await g.text();return v.length?JSON.parse(v):null}return g.text()}}var KE=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Rf="__rtkq/",JQ="online",XQ="offline",qE="focused",YC=ho(`${Rf}${qE}`),QE=ho(`${Rf}un${qE}`),ZC=ho(`${Rf}${JQ}`),YE=ho(`${Rf}${XQ}`),vu="query",ZE="mutation",JE="infinitequery";function xf(e){return e.type===vu}function eY(e){return e.type===ZE}function Ff(e){return e.type===JE}function Pf(e){return xf(e)||Ff(e)}function JC(e,t,n,i,o,r){const s=tY(e)?e(t,n,i,o):e;return s?KC(s,qC,a=>r(XE(a))):[]}function tY(e){return typeof e=="function"}function XE(e){return typeof e=="string"?{type:e}:e}function nY(e,t){return e.catch(t)}var Rl=(e,t)=>e.endpointDefinitions[t],Cu=Symbol("forceQueryFn"),XC=e=>typeof e[Cu]=="function";function iY({serializeQueryArgs:e,queryThunk:t,infiniteQueryThunk:n,mutationThunk:i,api:o,context:r,getInternalState:s}){const a=P=>s(P)?.runningQueries,l=P=>s(P)?.runningMutations,{unsubscribeQueryResult:u,removeMutationResult:h,updateSubscriptionOptions:f}=o.internalActions;return{buildInitiateQuery:y,buildInitiateInfiniteQuery:R,buildInitiateMutation:S,getRunningQueryThunk:g,getRunningMutationThunk:m,getRunningQueriesThunk:v,getRunningMutationsThunk:w};function g(P,F){return A=>{const k=Rl(r,P),L=e({queryArgs:F,endpointDefinition:k,endpointName:P});return a(A)?.get(L)}}function m(P,F){return A=>l(A)?.get(F)}function v(){return P=>UE(a(P))}function w(){return P=>UE(l(P))}function b(P,F){const A=(k,{subscribe:L=!0,forceRefetch:N,subscriptionOptions:M,[Cu]:E,...I}={})=>(B,W)=>{const J=e({queryArgs:k,endpointDefinition:F,endpointName:P});let me;const fe={...I,type:vu,subscribe:L,forceRefetch:N,subscriptionOptions:M,endpointName:P,originalArgs:k,queryCacheKey:J,[Cu]:E};if(xf(F))me=t(fe);else{const{direction:Fe,initialPageParam:Le,refetchCachedPages:$e}=I;me=n({...fe,direction:Fe,initialPageParam:Le,refetchCachedPages:$e})}const ve=o.endpoints[P].select(k),De=B(me),oe=ve(W()),{requestId:H,abort:Q}=De,j=oe.requestId!==H,ce=a(B)?.get(J),Ee=()=>ve(W()),Ie=Object.assign(E?De.then(Ee):j&&!ce?Promise.resolve(oe):Promise.all([ce,De]).then(Ee),{arg:k,requestId:H,subscriptionOptions:M,queryCacheKey:J,abort:Q,async unwrap(){const Fe=await Ie;if(Fe.isError)throw Fe.error;return Fe.data},refetch:Fe=>B(A(k,{subscribe:!1,forceRefetch:!0,...Fe})),unsubscribe(){L&&B(u({queryCacheKey:J,requestId:H}))},updateSubscriptionOptions(Fe){Ie.subscriptionOptions=Fe,B(f({endpointName:P,requestId:H,queryCacheKey:J,options:Fe}))}});if(!ce&&!j&&!E){const Fe=a(B);Fe.set(J,Ie),Ie.then(()=>{Fe.delete(J)})}return Ie};return A}function y(P,F){return b(P,F)}function R(P,F){return b(P,F)}function S(P){return(F,{track:A=!0,fixedCacheKey:k}={})=>(L,N)=>{const M=i({type:"mutation",endpointName:P,originalArgs:F,track:A,fixedCacheKey:k}),E=L(M),{requestId:I,abort:B,unwrap:W}=E,J=nY(E.unwrap().then(De=>({data:De})),De=>({error:De})),me=()=>{L(h({requestId:I,fixedCacheKey:k}))},fe=Object.assign(J,{arg:E.arg,requestId:I,abort:B,unwrap:W,reset:me}),ve=l(L);return ve.set(I,fe),fe.then(()=>{ve.delete(I)}),k&&(ve.set(k,fe),fe.then(()=>{ve.get(k)===fe&&ve.delete(k)})),fe}}}var eD=class extends HQ{constructor(e,t,n,i){super(e),this.value=t,this.schemaName=n,this._bqMeta=i}},ga=(e,t)=>Array.isArray(e)?e.includes(t):!!e;async function pa(e,t,n,i){const o=await e["~standard"].validate(t);if(o.issues)throw new eD(o.issues,t,n,i);return o.value}function tD(e){return e}var wu=(e={})=>({...e,[Cf]:!0});function oY({reducerPath:e,baseQuery:t,context:{endpointDefinitions:n},serializeQueryArgs:i,api:o,assertTagType:r,selectors:s,onSchemaFailure:a,catchSchemaFailure:l,skipSchemaValidation:u}){const h=(E,I,B,W)=>(J,me)=>{const fe=n[E],ve=i({queryArgs:I,endpointDefinition:fe,endpointName:E});if(J(o.internalActions.queryResultPatched({queryCacheKey:ve,patches:B})),!W)return;const De=o.endpoints[E].select(I)(me()),oe=JC(fe.providesTags,De.data,void 0,I,{},r);J(o.internalActions.updateProvidedBy([{queryCacheKey:ve,providedTags:oe}]))};function f(E,I,B=0){const W=[I,...E];return B&&W.length>B?W.slice(0,-1):W}function g(E,I,B=0){const W=[...E,I];return B&&W.length>B?W.slice(1):W}const m=(E,I,B,W=!0)=>(J,me)=>{const ve=o.endpoints[E].select(I)(me()),De={patches:[],inversePatches:[],undo:()=>J(o.util.patchQueryData(E,I,De.inversePatches,W))};if(ve.status===vr)return De;let oe;if("data"in ve)if(yi(ve.data)){const[H,Q,j]=EE(ve.data,B);De.patches.push(...Q),De.inversePatches.push(...j),oe=H}else oe=B(ve.data),De.patches.push({op:"replace",path:[],value:oe}),De.inversePatches.push({op:"replace",path:[],value:ve.data});return De.patches.length===0||J(o.util.patchQueryData(E,I,De.patches,W)),De},v=(E,I,B)=>W=>W(o.endpoints[E].initiate(I,{subscribe:!1,forceRefetch:!0,[Cu]:()=>({data:B})})),w=(E,I)=>E.query&&E[I]?E[I]:tD,b=async(E,{signal:I,abort:B,rejectWithValue:W,fulfillWithValue:J,dispatch:me,getState:fe,extra:ve})=>{const De=n[E.endpointName],{metaSchema:oe,skipSchemaValidation:H=u}=De,Q=E.type===vu;try{let j=tD;const ce={signal:I,abort:B,dispatch:me,getState:fe,extra:ve,endpoint:E.endpointName,type:E.type,forced:Q?y(E,fe()):void 0,queryCacheKey:Q?E.queryCacheKey:void 0},Ee=Q?E[Cu]:void 0;let Ie;const Fe=async($e,Ve,yt,O)=>{if(Ve==null&&$e.pages.length)return Promise.resolve({data:$e});const V={queryArg:E.originalArgs,pageParam:Ve},U=await Le(V),ne=O?f:g;return{data:{pages:ne($e.pages,U.data,yt),pageParams:ne($e.pageParams,Ve,yt)},meta:U.meta}};async function Le($e){let Ve;const{extraOptions:yt,argSchema:O,rawResponseSchema:V,responseSchema:U}=De;if(O&&!ga(H,"arg")&&($e=await pa(O,$e,"argSchema",{})),Ee?Ve=Ee():De.query?(j=w(De,"transformResponse"),Ve=await t(De.query($e),ce,yt)):Ve=await De.queryFn($e,ce,yt,Z=>t(Z,ce,yt)),typeof process<"u",Ve.error)throw new KE(Ve.error,Ve.meta);let{data:ne}=Ve;V&&!ga(H,"rawResponse")&&(ne=await pa(V,Ve.data,"rawResponseSchema",Ve.meta));let te=await j(ne,Ve.meta,$e);return U&&!ga(H,"response")&&(te=await pa(U,te,"responseSchema",Ve.meta)),{...Ve,data:te}}if(Q&&"infiniteQueryOptions"in De){const{infiniteQueryOptions:$e}=De,{maxPages:Ve=1/0}=$e,yt=E.refetchCachedPages??$e.refetchCachedPages??!0;let O;const V={pages:[],pageParams:[]},U=s.selectQueryEntry(fe(),E.queryCacheKey)?.data,te=y(E,fe())&&!E.direction||!U?V:U;if("direction"in E&&E.direction&&te.pages.length){const Z=E.direction==="backward",Ce=(Z?nD:ew)($e,te,E.originalArgs);O=await Fe(te,Ce,Ve,Z)}else{const{initialPageParam:Z=$e.initialPageParam}=E,Se=U?.pageParams??[],Ce=Se[0]??Z,he=Se.length;if(O=await Fe(te,Ce,Ve),Ee&&(O={data:O.data.pages[0]}),yt)for(let ie=1;ie<he;ie++){const ke=ew($e,O.data,E.originalArgs);O=await Fe(O.data,ke,Ve)}}Ie=O}else Ie=await Le(E.originalArgs);return oe&&!ga(H,"meta")&&Ie.meta&&(Ie.meta=await pa(oe,Ie.meta,"metaSchema",Ie.meta)),J(Ie.data,wu({fulfilledTimeStamp:Date.now(),baseQueryMeta:Ie.meta}))}catch(j){let ce=j;if(ce instanceof KE){let Ee=w(De,"transformErrorResponse");const{rawErrorResponseSchema:Ie,errorResponseSchema:Fe}=De;let{value:Le,meta:$e}=ce;try{Ie&&!ga(H,"rawErrorResponse")&&(Le=await pa(Ie,Le,"rawErrorResponseSchema",$e)),oe&&!ga(H,"meta")&&($e=await pa(oe,$e,"metaSchema",$e));let Ve=await Ee(Le,$e,E.originalArgs);return Fe&&!ga(H,"errorResponse")&&(Ve=await pa(Fe,Ve,"errorResponseSchema",$e)),W(Ve,wu({baseQueryMeta:$e}))}catch(Ve){ce=Ve}}try{if(ce instanceof eD){const Ee={endpoint:E.endpointName,arg:E.originalArgs,type:E.type,queryCacheKey:Q?E.queryCacheKey:void 0};De.onSchemaFailure?.(ce,Ee),a?.(ce,Ee);const{catchSchemaFailure:Ie=l}=De;if(Ie)return W(Ie(ce,Ee),wu({baseQueryMeta:ce._bqMeta}))}}catch(Ee){ce=Ee}throw console.error(ce),ce}};function y(E,I){const B=s.selectQueryEntry(I,E.queryCacheKey),W=s.selectConfig(I).refetchOnMountOrArgChange,J=B?.fulfilledTimeStamp,me=E.forceRefetch??(E.subscribe&&W);return me?me===!0||(Number(new Date)-Number(J))/1e3>=me:!1}const R=()=>GE(`${e}/executeQuery`,b,{getPendingMeta({arg:I}){const B=n[I.endpointName];return wu({startedTimeStamp:Date.now(),...Ff(B)?{direction:I.direction}:{}})},condition(I,{getState:B}){const W=B(),J=s.selectQueryEntry(W,I.queryCacheKey),me=J?.fulfilledTimeStamp,fe=I.originalArgs,ve=J?.originalArgs,De=n[I.endpointName],oe=I.direction;return XC(I)?!0:J?.status==="pending"?!1:y(I,W)||xf(De)&&De?.forceRefetch?.({currentArg:fe,previousArg:ve,endpointState:J,state:W})?!0:!(me&&!oe)},dispatchConditionRejection:!0}),S=R(),P=R(),F=GE(`${e}/executeMutation`,b,{getPendingMeta(){return wu({startedTimeStamp:Date.now()})}}),A=E=>"force"in E,k=E=>"ifOlderThan"in E,L=(E,I,B={})=>(W,J)=>{const me=A(B)&&B.force,fe=k(B)&&B.ifOlderThan,ve=(oe=!0)=>{const H={forceRefetch:oe,subscribe:!1};return o.endpoints[E].initiate(I,H)},De=o.endpoints[E].select(I)(J());if(me)W(ve());else if(fe){const oe=De?.fulfilledTimeStamp;if(!oe){W(ve());return}(Number(new Date)-Number(new Date(oe)))/1e3>=fe&&W(ve())}else W(ve(!1))};function N(E){return I=>I?.meta?.arg?.endpointName===E}function M(E,I){return{matchPending:fu(WC(E),N(I)),matchFulfilled:fu(ds(E),N(I)),matchRejected:fu(Sl(E),N(I))}}return{queryThunk:S,mutationThunk:F,infiniteQueryThunk:P,prefetch:L,updateQueryData:m,upsertQueryData:v,patchQueryData:h,buildMatchThunkActions:M}}function ew(e,{pages:t,pageParams:n},i){const o=t.length-1;return e.getNextPageParam(t[o],t,n[o],n,i)}function nD(e,{pages:t,pageParams:n},i){return e.getPreviousPageParam?.(t[0],t,n[0],n,i)}function iD(e,t,n,i){return JC(n[e.meta.arg.endpointName][t],ds(e)?e.payload:void 0,bf(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,i)}function oD(e){return bi(e)?FE(e):e}function Ef(e,t,n){const i=e[t];i&&n(i)}function bu(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function rD(e,t,n){const i=e[bu(t)];i&&n(i)}var Df={};function rY({reducerPath:e,queryThunk:t,mutationThunk:n,serializeQueryArgs:i,context:{endpointDefinitions:o,apiUid:r,extractRehydrationInfo:s,hasRehydrationInfo:a},assertTagType:l,config:u}){const h=ho(`${e}/resetApiState`);function f(N,M,E,I){N[M.queryCacheKey]??={status:vr,endpointName:M.endpointName},Ef(N,M.queryCacheKey,B=>{B.status=jC,B.requestId=E&&B.requestId?B.requestId:I.requestId,M.originalArgs!==void 0&&(B.originalArgs=M.originalArgs),B.startedTimeStamp=I.startedTimeStamp;const W=o[I.arg.endpointName];Ff(W)&&"direction"in M&&(B.direction=M.direction)})}function g(N,M,E,I){Ef(N,M.arg.queryCacheKey,B=>{if(B.requestId!==M.requestId&&!I)return;const{merge:W}=o[M.arg.endpointName];if(B.status=pu,W)if(B.data!==void 0){const{fulfilledTimeStamp:J,arg:me,baseQueryMeta:fe,requestId:ve}=M;let De=du(B.data,oe=>W(oe,E,{arg:me.originalArgs,baseQueryMeta:fe,fulfilledTimeStamp:J,requestId:ve}));B.data=De}else B.data=E;else B.data=o[M.arg.endpointName].structuralSharing??!0?zE(bi(B.data)?Wq(B.data):B.data,E):E;delete B.error,B.fulfilledTimeStamp=M.fulfilledTimeStamp})}const m=fa({name:`${e}/queries`,initialState:Df,reducers:{removeQueryResult:{reducer(N,{payload:{queryCacheKey:M}}){delete N[M]},prepare:hu()},cacheEntriesUpserted:{reducer(N,M){for(const E of M.payload){const{queryDescription:I,value:B}=E;f(N,I,!0,{arg:I,requestId:M.meta.requestId,startedTimeStamp:M.meta.timestamp}),g(N,{arg:I,requestId:M.meta.requestId,fulfilledTimeStamp:M.meta.timestamp,baseQueryMeta:{}},B,!0)}},prepare:N=>({payload:N.map(I=>{const{endpointName:B,arg:W,value:J}=I,me=o[B];return{queryDescription:{type:vu,endpointName:B,originalArgs:I.arg,queryCacheKey:i({queryArgs:W,endpointDefinition:me,endpointName:B})},value:J}}),meta:{[Cf]:!0,requestId:UC(),timestamp:Date.now()}})},queryResultPatched:{reducer(N,{payload:{queryCacheKey:M,patches:E}}){Ef(N,M,I=>{I.data=DE(I.data,E.concat())})},prepare:hu()}},extraReducers(N){N.addCase(t.pending,(M,{meta:E,meta:{arg:I}})=>{const B=XC(I);f(M,I,B,E)}).addCase(t.fulfilled,(M,{meta:E,payload:I})=>{const B=XC(E.arg);g(M,E,I,B)}).addCase(t.rejected,(M,{meta:{condition:E,arg:I,requestId:B},error:W,payload:J})=>{Ef(M,I.queryCacheKey,me=>{if(!E){if(me.requestId!==B)return;me.status=mu,me.error=J??W}})}).addMatcher(a,(M,E)=>{const{queries:I}=s(E);for(const[B,W]of Object.entries(I))(W?.status===pu||W?.status===mu)&&(M[B]=W)})}}),v=fa({name:`${e}/mutations`,initialState:Df,reducers:{removeMutationResult:{reducer(N,{payload:M}){const E=bu(M);E in N&&delete N[E]},prepare:hu()}},extraReducers(N){N.addCase(n.pending,(M,{meta:E,meta:{requestId:I,arg:B,startedTimeStamp:W}})=>{B.track&&(M[bu(E)]={requestId:I,status:jC,endpointName:B.endpointName,startedTimeStamp:W})}).addCase(n.fulfilled,(M,{payload:E,meta:I})=>{I.arg.track&&rD(M,I,B=>{B.requestId===I.requestId&&(B.status=pu,B.data=E,B.fulfilledTimeStamp=I.fulfilledTimeStamp)})}).addCase(n.rejected,(M,{payload:E,error:I,meta:B})=>{B.arg.track&&rD(M,B,W=>{W.requestId===B.requestId&&(W.status=mu,W.error=E??I)})}).addMatcher(a,(M,E)=>{const{mutations:I}=s(E);for(const[B,W]of Object.entries(I))(W?.status===pu||W?.status===mu)&&B!==W?.requestId&&(M[B]=W)})}}),w={tags:{},keys:{}},b=fa({name:`${e}/invalidation`,initialState:w,reducers:{updateProvidedBy:{reducer(N,M){for(const{queryCacheKey:E,providedTags:I}of M.payload){y(N,E);for(const{type:B,id:W}of I){const J=(N.tags[B]??={})[W||"__internal_without_id"]??=[];J.includes(E)||J.push(E)}N.keys[E]=I}},prepare:hu()}},extraReducers(N){N.addCase(m.actions.removeQueryResult,(M,{payload:{queryCacheKey:E}})=>{y(M,E)}).addMatcher(a,(M,E)=>{const{provided:I}=s(E);for(const[B,W]of Object.entries(I.tags??{}))for(const[J,me]of Object.entries(W)){const fe=(M.tags[B]??={})[J||"__internal_without_id"]??=[];for(const ve of me)fe.includes(ve)||fe.push(ve),M.keys[ve]=I.keys[ve]}}).addMatcher(mr(ds(t),bf(t)),(M,E)=>{R(M,[E])}).addMatcher(m.actions.cacheEntriesUpserted.match,(M,E)=>{const I=E.payload.map(({queryDescription:B,value:W})=>({type:"UNKNOWN",payload:W,meta:{requestStatus:"fulfilled",requestId:"UNKNOWN",arg:B}}));R(M,I)})}});function y(N,M){const E=oD(N.keys[M]??[]);for(const I of E){const B=I.type,W=I.id??"__internal_without_id",J=N.tags[B]?.[W];J&&(N.tags[B][W]=oD(J).filter(me=>me!==M))}delete N.keys[M]}function R(N,M){const E=M.map(I=>{const B=iD(I,"providesTags",o,l),{queryCacheKey:W}=I.meta.arg;return{queryCacheKey:W,providedTags:B}});b.caseReducers.updateProvidedBy(N,b.actions.updateProvidedBy(E))}const S=fa({name:`${e}/subscriptions`,initialState:Df,reducers:{updateSubscriptionOptions(N,M){},unsubscribeQueryResult(N,M){},internal_getRTKQSubscriptions(){}}}),P=fa({name:`${e}/internalSubscriptions`,initialState:Df,reducers:{subscriptionsUpdated:{reducer(N,M){return DE(N,M.payload)},prepare:hu()}}}),F=fa({name:`${e}/config`,initialState:{online:WQ(),focused:VQ(),middlewareRegistered:!1,...u},reducers:{middlewareRegistered(N,{payload:M}){N.middlewareRegistered=N.middlewareRegistered==="conflict"||r!==M?"conflict":!0}},extraReducers:N=>{N.addCase(ZC,M=>{M.online=!0}).addCase(YE,M=>{M.online=!1}).addCase(YC,M=>{M.focused=!0}).addCase(QE,M=>{M.focused=!1}).addMatcher(a,M=>({...M}))}}),A=uE({queries:m.reducer,mutations:v.reducer,provided:b.reducer,subscriptions:P.reducer,config:F.reducer}),k=(N,M)=>A(h.match(M)?void 0:N,M),L={...F.actions,...m.actions,...S.actions,...P.actions,...v.actions,...b.actions,resetApiState:h};return{reducer:k,actions:L}}var tw=Symbol.for("RTKQ/skipToken"),sD={status:vr},aD=du(sD,()=>{}),lD=du(sD,()=>{});function sY({serializeQueryArgs:e,reducerPath:t,createSelector:n}){const i=S=>aD,o=S=>lD;return{buildQuerySelector:g,buildInfiniteQuerySelector:m,buildMutationSelector:v,selectInvalidatedBy:w,selectCachedArgsForQuery:b,selectApiState:s,selectQueries:a,selectMutations:u,selectQueryEntry:l,selectConfig:h};function r(S){return{...S,...VE(S.status)}}function s(S){return S[t]}function a(S){return s(S)?.queries}function l(S,P){return a(S)?.[P]}function u(S){return s(S)?.mutations}function h(S){return s(S)?.config}function f(S,P,F){return A=>{if(A===tw)return n(i,F);const k=e({queryArgs:A,endpointDefinition:P,endpointName:S});return n(N=>l(N,k)??aD,F)}}function g(S,P){return f(S,P,r)}function m(S,P){const{infiniteQueryOptions:F}=P;function A(k){const L={...k,...VE(k.status)},{isLoading:N,isError:M,direction:E}=L,I=E==="forward",B=E==="backward";return{...L,hasNextPage:y(F,L.data,L.originalArgs),hasPreviousPage:R(F,L.data,L.originalArgs),isFetchingNextPage:N&&I,isFetchingPreviousPage:N&&B,isFetchNextPageError:M&&I,isFetchPreviousPageError:M&&B}}return f(S,P,A)}function v(){return S=>{let P;return typeof S=="object"?P=bu(S)??tw:P=S,n(P===tw?o:k=>s(k)?.mutations?.[P]??lD,r)}}function w(S,P){const F=S[t],A=new Set,k=KC(P,qC,XE);for(const L of k){const N=F.provided.tags[L.type];if(!N)continue;let M=(L.id!==void 0?N[L.id]:Object.values(N).flat())??[];for(const E of M)A.add(E)}return Array.from(A.values()).flatMap(L=>{const N=F.queries[L];return N?{queryCacheKey:L,endpointName:N.endpointName,originalArgs:N.originalArgs}:[]})}function b(S,P){return KC(Object.values(a(S)),F=>F?.endpointName===P&&F.status!==vr,F=>F.originalArgs)}function y(S,P,F){return P?ew(S,P,F)!=null:!1}function R(S,P,F){return!P||!S.getPreviousPageParam?!1:nD(S,P,F)!=null}}var cD=WeakMap?new WeakMap:void 0,uD=({endpointName:e,queryArgs:t})=>{let n="";const i=cD?.get(t);if(typeof i=="string")n=i;else{const o=JSON.stringify(t,(r,s)=>(s=typeof s=="bigint"?{$bigint:s.toString()}:s,s=us(s)?Object.keys(s).sort().reduce((a,l)=>(a[l]=s[l],a),{}):s,s));us(t)&&cD?.set(t,o),n=o}return`${e}(${n})`};function aY(...e){return function(n){const i=mf(u=>n.extractRehydrationInfo?.(u,{reducerPath:n.reducerPath??"api"})),o={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...n,extractRehydrationInfo:i,serializeQueryArgs(u){let h=uD;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;h=g=>{const m=f(g);return typeof m=="string"?m:uD({...g,queryArgs:m})}}else n.serializeQueryArgs&&(h=n.serializeQueryArgs);return h(u)},tagTypes:[...n.tagTypes||[]]},r={endpointDefinitions:{},batch(u){u()},apiUid:UC(),extractRehydrationInfo:i,hasRehydrationInfo:mf(u=>i(u)!=null)},s={injectEndpoints:l,enhanceEndpoints({addTagTypes:u,endpoints:h}){if(u)for(const f of u)o.tagTypes.includes(f)||o.tagTypes.push(f);if(h)for(const[f,g]of Object.entries(h))typeof g=="function"?g(Rl(r,f)):Object.assign(Rl(r,f)||{},g);return s}},a=e.map(u=>u.init(s,o,r));function l(u){const h=u.endpoints({query:f=>({...f,type:vu}),mutation:f=>({...f,type:ZE}),infiniteQuery:f=>({...f,type:JE})});for(const[f,g]of Object.entries(h)){if(u.overrideExisting!==!0&&f in r.endpointDefinitions){if(u.overrideExisting==="throw")throw new Error(Ho(39));continue}r.endpointDefinitions[f]=g;for(const m of a)m.injectEndpoint(f,g)}return s}return s.injectEndpoints({endpoints:n.endpoints})}}function Cr(e,...t){return Object.assign(e,...t)}var lY=({api:e,queryThunk:t,internalState:n,mwApi:i})=>{const o=`${e.reducerPath}/subscriptions`;let r=null,s=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:l}=e.internalActions,u=(w,b)=>{if(a.match(b)){const{queryCacheKey:R,requestId:S,options:P}=b.payload,F=w.get(R);return F?.has(S)&&F.set(S,P),!0}if(l.match(b)){const{queryCacheKey:R,requestId:S}=b.payload,P=w.get(R);return P&&P.delete(S),!0}if(e.internalActions.removeQueryResult.match(b))return w.delete(b.payload.queryCacheKey),!0;if(t.pending.match(b)){const{meta:{arg:R,requestId:S}}=b,P=Sf(w,R.queryCacheKey,QC);return R.subscribe&&P.set(S,R.subscriptionOptions??P.get(S)??{}),!0}let y=!1;if(t.rejected.match(b)){const{meta:{condition:R,arg:S,requestId:P}}=b;if(R&&S.subscribe){const F=Sf(w,S.queryCacheKey,QC);F.set(P,S.subscriptionOptions??F.get(P)??{}),y=!0}}return y},h=()=>n.currentSubscriptions,m={getSubscriptions:h,getSubscriptionCount:w=>h().get(w)?.size??0,isRequestSubscribed:(w,b)=>!!h()?.get(w)?.get(b)};function v(w){return JSON.parse(JSON.stringify(Object.fromEntries([...w].map(([b,y])=>[b,Object.fromEntries(y)]))))}return(w,b)=>{if(r||(r=v(n.currentSubscriptions)),e.util.resetApiState.match(w))return r={},n.currentSubscriptions.clear(),s=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(w))return[!1,m];const y=u(n.currentSubscriptions,w);let R=!0;if(y){s||(s=setTimeout(()=>{const F=v(n.currentSubscriptions),[,A]=EE(r,()=>F);b.next(e.internalActions.subscriptionsUpdated(A)),r=F,s=null},500));const S=typeof w.type=="string"&&!!w.type.startsWith(o),P=t.rejected.match(w)&&w.meta.condition&&!!w.meta.arg.subscribe;R=!S&&!P}return[R,!1]}},cY=2147483647/1e3-1,uY=({reducerPath:e,api:t,queryThunk:n,context:i,internalState:o,selectors:{selectQueryEntry:r,selectConfig:s},getRunningQueryThunk:a,mwApi:l})=>{const{removeQueryResult:u,unsubscribeQueryResult:h,cacheEntriesUpserted:f}=t.internalActions,g=mr(h.match,n.fulfilled,n.rejected,f.match);function m(S){const P=o.currentSubscriptions.get(S);return P?P.size>0:!1}const v={};function w(S){for(const P of S.values())P?.abort?.()}const b=(S,P)=>{const F=P.getState(),A=s(F);if(g(S)){let k;if(f.match(S))k=S.payload.map(L=>L.queryDescription.queryCacheKey);else{const{queryCacheKey:L}=h.match(S)?S.payload:S.meta.arg;k=[L]}y(k,P,A)}if(t.util.resetApiState.match(S)){for(const[k,L]of Object.entries(v))L&&clearTimeout(L),delete v[k];w(o.runningQueries),w(o.runningMutations)}if(i.hasRehydrationInfo(S)){const{queries:k}=i.extractRehydrationInfo(S);y(Object.keys(k),P,A)}};function y(S,P,F){const A=P.getState();for(const k of S){const L=r(A,k);L?.endpointName&&R(k,L.endpointName,P,F)}}function R(S,P,F,A){const L=Rl(i,P)?.keepUnusedDataFor??A.keepUnusedDataFor;if(L===1/0)return;const N=Math.max(0,Math.min(L,cY));if(!m(S)){const M=v[S];M&&clearTimeout(M),v[S]=setTimeout(()=>{if(!m(S)){const E=r(F.getState(),S);E?.endpointName&&F.dispatch(a(E.endpointName,E.originalArgs))?.abort(),F.dispatch(u({queryCacheKey:S}))}delete v[S]},N*1e3)}}return b},dD=new Error("Promise never resolved before cacheEntryRemoved."),dY=({api:e,reducerPath:t,context:n,queryThunk:i,mutationThunk:o,internalState:r,selectors:{selectQueryEntry:s,selectApiState:a}})=>{const l=zC(i),u=zC(o),h=ds(i,o),f={},{removeQueryResult:g,removeMutationResult:m,cacheEntriesUpserted:v}=e.internalActions;function w(F,A,k){const L=f[F];L?.valueResolved&&(L.valueResolved({data:A,meta:k}),delete L.valueResolved)}function b(F){const A=f[F];A&&(delete f[F],A.cacheEntryRemoved())}function y(F){const{arg:A,requestId:k}=F.meta,{endpointName:L,originalArgs:N}=A;return[L,N,k]}const R=(F,A,k)=>{const L=S(F);function N(M,E,I,B){const W=s(k,E),J=s(A.getState(),E);!W&&J&&P(M,B,E,A,I)}if(i.pending.match(F)){const[M,E,I]=y(F);N(M,L,I,E)}else if(v.match(F))for(const{queryDescription:M,value:E}of F.payload){const{endpointName:I,originalArgs:B,queryCacheKey:W}=M;N(I,W,F.meta.requestId,B),w(W,E,{})}else if(o.pending.match(F)){if(A.getState()[t].mutations[L]){const[E,I,B]=y(F);P(E,I,L,A,B)}}else if(h(F))w(L,F.payload,F.meta.baseQueryMeta);else if(g.match(F)||m.match(F))b(L);else if(e.util.resetApiState.match(F))for(const M of Object.keys(f))b(M)};function S(F){return l(F)?F.meta.arg.queryCacheKey:u(F)?F.meta.arg.fixedCacheKey??F.meta.requestId:g.match(F)?F.payload.queryCacheKey:m.match(F)?bu(F.payload):""}function P(F,A,k,L,N){const M=Rl(n,F),E=M?.onCacheEntryAdded;if(!E)return;const I={},B=new Promise(De=>{I.cacheEntryRemoved=De}),W=Promise.race([new Promise(De=>{I.valueResolved=De}),B.then(()=>{throw dD})]);W.catch(()=>{}),f[k]=I;const J=e.endpoints[F].select(Pf(M)?A:k),me=L.dispatch((De,oe,H)=>H),fe={...L,getCacheEntry:()=>J(L.getState()),requestId:N,extra:me,updateCachedData:Pf(M)?De=>L.dispatch(e.util.updateQueryData(F,A,De)):void 0,cacheDataLoaded:W,cacheEntryRemoved:B},ve=E(A,fe);Promise.resolve(ve).catch(De=>{if(De!==dD)throw De})}return R},hY=({api:e,context:{apiUid:t},reducerPath:n})=>(i,o)=>{e.util.resetApiState.match(i)&&o.dispatch(e.internalActions.middlewareRegistered(t))},fY=({reducerPath:e,context:t,context:{endpointDefinitions:n},mutationThunk:i,queryThunk:o,api:r,assertTagType:s,refetchQuery:a,internalState:l})=>{const{removeQueryResult:u}=r.internalActions,h=mr(ds(i),bf(i)),f=mr(ds(o,i),Sl(o,i));let g=[],m=0;const v=(y,R)=>{(o.pending.match(y)||i.pending.match(y))&&m++,f(y)&&(m=Math.max(0,m-1)),h(y)?b(iD(y,"invalidatesTags",n,s),R):f(y)?b([],R):r.util.invalidateTags.match(y)&&b(JC(y.payload,void 0,void 0,void 0,void 0,s),R)};function w(){return m>0}function b(y,R){const S=R.getState(),P=S[e];if(g.push(...y),P.config.invalidationBehavior==="delayed"&&w())return;const F=g;if(g=[],F.length===0)return;const A=r.util.selectInvalidatedBy(S,F);t.batch(()=>{const k=Array.from(A.values());for(const{queryCacheKey:L}of k){const N=P.queries[L],M=Sf(l.currentSubscriptions,L,QC);N&&(M.size===0?R.dispatch(u({queryCacheKey:L})):N.status!==vr&&R.dispatch(a(N)))}})}return v},gY=({reducerPath:e,queryThunk:t,api:n,refetchQuery:i,internalState:o})=>{const{currentPolls:r,currentSubscriptions:s}=o,a=new Set;let l=null;const u=(b,y)=>{(n.internalActions.updateSubscriptionOptions.match(b)||n.internalActions.unsubscribeQueryResult.match(b))&&h(b.payload.queryCacheKey,y),(t.pending.match(b)||t.rejected.match(b)&&b.meta.condition)&&h(b.meta.arg.queryCacheKey,y),(t.fulfilled.match(b)||t.rejected.match(b)&&!b.meta.condition)&&f(b.meta.arg,y),n.util.resetApiState.match(b)&&(v(),l&&(clearTimeout(l),l=null),a.clear())};function h(b,y){a.add(b),l||(l=setTimeout(()=>{for(const R of a)g({queryCacheKey:R},y);a.clear(),l=null},0))}function f({queryCacheKey:b},y){const R=y.getState()[e],S=R.queries[b],P=s.get(b);if(!S||S.status===vr)return;const{lowestPollingInterval:F,skipPollingIfUnfocused:A}=w(P);if(!Number.isFinite(F))return;const k=r.get(b);k?.timeout&&(clearTimeout(k.timeout),k.timeout=void 0);const L=Date.now()+F;r.set(b,{nextPollTimestamp:L,pollingInterval:F,timeout:setTimeout(()=>{(R.config.focused||!A)&&y.dispatch(i(S)),f({queryCacheKey:b},y)},F)})}function g({queryCacheKey:b},y){const S=y.getState()[e].queries[b],P=s.get(b);if(!S||S.status===vr)return;const{lowestPollingInterval:F}=w(P);if(!Number.isFinite(F)){m(b);return}const A=r.get(b),k=Date.now()+F;(!A||k<A.nextPollTimestamp)&&f({queryCacheKey:b},y)}function m(b){const y=r.get(b);y?.timeout&&clearTimeout(y.timeout),r.delete(b)}function v(){for(const b of r.keys())m(b)}function w(b=new Map){let y=!1,R=Number.POSITIVE_INFINITY;for(const S of b.values())S.pollingInterval&&(R=Math.min(S.pollingInterval,R),y=S.skipPollingIfUnfocused||y);return{lowestPollingInterval:R,skipPollingIfUnfocused:y}}return u},pY=({api:e,context:t,queryThunk:n,mutationThunk:i})=>{const o=WC(n,i),r=Sl(n,i),s=ds(n,i),a={};return(u,h)=>{if(o(u)){const{requestId:f,arg:{endpointName:g,originalArgs:m}}=u.meta,v=Rl(t,g),w=v?.onQueryStarted;if(w){const b={},y=new Promise((F,A)=>{b.resolve=F,b.reject=A});y.catch(()=>{}),a[f]=b;const R=e.endpoints[g].select(Pf(v)?m:f),S=h.dispatch((F,A,k)=>k),P={...h,getCacheEntry:()=>R(h.getState()),requestId:f,extra:S,updateCachedData:Pf(v)?F=>h.dispatch(e.util.updateQueryData(g,m,F)):void 0,queryFulfilled:y};w(m,P)}}else if(s(u)){const{requestId:f,baseQueryMeta:g}=u.meta;a[f]?.resolve({data:u.payload,meta:g}),delete a[f]}else if(r(u)){const{requestId:f,rejectedWithValue:g,baseQueryMeta:m}=u.meta;a[f]?.reject({error:u.payload??u.error,isUnhandledError:!g,meta:m}),delete a[f]}}},mY=({reducerPath:e,context:t,api:n,refetchQuery:i,internalState:o})=>{const{removeQueryResult:r}=n.internalActions,s=(l,u)=>{YC.match(l)&&a(u,"refetchOnFocus"),ZC.match(l)&&a(u,"refetchOnReconnect")};function a(l,u){const h=l.getState()[e],f=h.queries,g=o.currentSubscriptions;t.batch(()=>{for(const m of g.keys()){const v=f[m],w=g.get(m);if(!w||!v)continue;const b=[...w.values()];(b.some(R=>R[u]===!0)||b.every(R=>R[u]===void 0)&&h.config[u])&&(w.size===0?l.dispatch(r({queryCacheKey:m})):v.status!==vr&&l.dispatch(i(v)))}})}return s};function vY(e){const{reducerPath:t,queryThunk:n,api:i,context:o,getInternalState:r}=e,{apiUid:s}=o,a={invalidateTags:ho(`${t}/invalidateTags`)},l=g=>g.type.startsWith(`${t}/`),u=[hY,uY,fY,gY,dY,pY];return{middleware:g=>{let m=!1;const v=r(g.dispatch),w={...e,internalState:v,refetchQuery:f,isThisApiSliceAction:l,mwApi:g},b=u.map(S=>S(w)),y=lY(w),R=mY(w);return S=>P=>{if(!dE(P))return S(P);m||(m=!0,g.dispatch(i.internalActions.middlewareRegistered(s)));const F={...g,next:S},A=g.getState(),[k,L]=y(P,F,A);let N;if(k?N=S(P):N=L,g.getState()[t]&&(R(P,F,A),l(P)||o.hasRehydrationInfo(P)))for(const M of b)M(P,F,A);return N}},actions:a};function f(g){return e.api.endpoints[g.endpointName].initiate(g.originalArgs,{subscribe:!1,forceRefetch:!0})}}var hD=Symbol(),CY=({createSelector:e=IE}={})=>({name:hD,init(t,{baseQuery:n,tagTypes:i,reducerPath:o,serializeQueryArgs:r,keepUnusedDataFor:s,refetchOnMountOrArgChange:a,refetchOnFocus:l,refetchOnReconnect:u,invalidationBehavior:h,onSchemaFailure:f,catchSchemaFailure:g,skipSchemaValidation:m},v){iQ();const w=Fe=>Fe;Object.assign(t,{reducerPath:o,endpoints:{},internalActions:{onOnline:ZC,onOffline:YE,onFocus:YC,onFocusLost:QE},util:{}});const b=sY({serializeQueryArgs:r,reducerPath:o,createSelector:e}),{selectInvalidatedBy:y,selectCachedArgsForQuery:R,buildQuerySelector:S,buildInfiniteQuerySelector:P,buildMutationSelector:F}=b;Cr(t.util,{selectInvalidatedBy:y,selectCachedArgsForQuery:R});const{queryThunk:A,infiniteQueryThunk:k,mutationThunk:L,patchQueryData:N,updateQueryData:M,upsertQueryData:E,prefetch:I,buildMatchThunkActions:B}=oY({baseQuery:n,reducerPath:o,context:v,api:t,serializeQueryArgs:r,assertTagType:w,selectors:b,onSchemaFailure:f,catchSchemaFailure:g,skipSchemaValidation:m}),{reducer:W,actions:J}=rY({context:v,queryThunk:A,mutationThunk:L,serializeQueryArgs:r,reducerPath:o,assertTagType:w,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:a,keepUnusedDataFor:s,reducerPath:o,invalidationBehavior:h}});Cr(t.util,{patchQueryData:N,updateQueryData:M,upsertQueryData:E,prefetch:I,resetApiState:J.resetApiState,upsertQueryEntries:J.cacheEntriesUpserted}),Cr(t.internalActions,J);const me=new WeakMap,fe=Fe=>Sf(me,Fe,()=>({currentSubscriptions:new Map,currentPolls:new Map,runningQueries:new Map,runningMutations:new Map})),{buildInitiateQuery:ve,buildInitiateInfiniteQuery:De,buildInitiateMutation:oe,getRunningMutationThunk:H,getRunningMutationsThunk:Q,getRunningQueriesThunk:j,getRunningQueryThunk:ce}=iY({queryThunk:A,mutationThunk:L,infiniteQueryThunk:k,api:t,serializeQueryArgs:r,context:v,getInternalState:fe});Cr(t.util,{getRunningMutationThunk:H,getRunningMutationsThunk:Q,getRunningQueryThunk:ce,getRunningQueriesThunk:j});const{middleware:Ee,actions:Ie}=vY({reducerPath:o,context:v,queryThunk:A,mutationThunk:L,infiniteQueryThunk:k,api:t,assertTagType:w,selectors:b,getRunningQueryThunk:ce,getInternalState:fe});return Cr(t.util,Ie),Cr(t,{reducer:W,middleware:Ee}),{name:hD,injectEndpoint(Fe,Le){const $e=t,Ve=$e.endpoints[Fe]??={};xf(Le)&&Cr(Ve,{name:Fe,select:S(Fe,Le),initiate:ve(Fe,Le)},B(A,Fe)),eY(Le)&&Cr(Ve,{name:Fe,select:F(),initiate:oe(Fe)},B(L,Fe)),Ff(Le)&&Cr(Ve,{name:Fe,select:P(Fe,Le),initiate:De(Fe,Le)},B(A,Fe))}}}}),wY=aY(CY());const Vi=wY({baseQuery:ZQ({baseUrl:"https://contributor-service-prd.int.complysci.com:443/pcv/api"}),endpoints:()=>({})});var Wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yu={exports:{}},bY=yu.exports,fD;function yY(){return fD||(fD=1,(function(e,t){(function(n,i){i(t)})(bY,function(n){function i(H,Q){H.super_=Q,H.prototype=Object.create(Q.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}})}function o(H,Q){Object.defineProperty(this,"kind",{value:H,enumerable:!0}),Q&&Q.length&&Object.defineProperty(this,"path",{value:Q,enumerable:!0})}function r(H,Q,j){r.super_.call(this,"E",H),Object.defineProperty(this,"lhs",{value:Q,enumerable:!0}),Object.defineProperty(this,"rhs",{value:j,enumerable:!0})}function s(H,Q){s.super_.call(this,"N",H),Object.defineProperty(this,"rhs",{value:Q,enumerable:!0})}function a(H,Q){a.super_.call(this,"D",H),Object.defineProperty(this,"lhs",{value:Q,enumerable:!0})}function l(H,Q,j){l.super_.call(this,"A",H),Object.defineProperty(this,"index",{value:Q,enumerable:!0}),Object.defineProperty(this,"item",{value:j,enumerable:!0})}function u(H,Q,j){var ce=H.slice(Q+1||H.length);return H.length=Q<0?H.length+Q:Q,H.push.apply(H,ce),H}function h(H){var Q=typeof H>"u"?"undefined":J(H);return Q!=="object"?Q:H===Math?"math":H===null?"null":Array.isArray(H)?"array":Object.prototype.toString.call(H)==="[object Date]"?"date":typeof H.toString=="function"&&/^\/.*\//.test(H.toString())?"regexp":"object"}function f(H,Q,j,ce,Ee,Ie,Fe){Ee=Ee||[],Fe=Fe||[];var Le=Ee.slice(0);if(typeof Ie<"u"){if(ce){if(typeof ce=="function"&&ce(Le,Ie))return;if((typeof ce>"u"?"undefined":J(ce))==="object"){if(ce.prefilter&&ce.prefilter(Le,Ie))return;if(ce.normalize){var $e=ce.normalize(Le,Ie,H,Q);$e&&(H=$e[0],Q=$e[1])}}}Le.push(Ie)}h(H)==="regexp"&&h(Q)==="regexp"&&(H=H.toString(),Q=Q.toString());var Ve=typeof H>"u"?"undefined":J(H),yt=typeof Q>"u"?"undefined":J(Q),O=Ve!=="undefined"||Fe&&Fe[Fe.length-1].lhs&&Fe[Fe.length-1].lhs.hasOwnProperty(Ie),V=yt!=="undefined"||Fe&&Fe[Fe.length-1].rhs&&Fe[Fe.length-1].rhs.hasOwnProperty(Ie);if(!O&&V)j(new s(Le,Q));else if(!V&&O)j(new a(Le,H));else if(h(H)!==h(Q))j(new r(Le,H,Q));else if(h(H)==="date"&&H-Q!==0)j(new r(Le,H,Q));else if(Ve==="object"&&H!==null&&Q!==null)if(Fe.filter(function(Z){return Z.lhs===H}).length)H!==Q&&j(new r(Le,H,Q));else{if(Fe.push({lhs:H,rhs:Q}),Array.isArray(H)){var U;for(H.length,U=0;U<H.length;U++)U>=Q.length?j(new l(Le,U,new a(void 0,H[U]))):f(H[U],Q[U],j,ce,Le,U,Fe);for(;U<Q.length;)j(new l(Le,U,new s(void 0,Q[U++])))}else{var ne=Object.keys(H),te=Object.keys(Q);ne.forEach(function(Z,Se){var Ce=te.indexOf(Z);Ce>=0?(f(H[Z],Q[Z],j,ce,Le,Z,Fe),te=u(te,Ce)):f(H[Z],void 0,j,ce,Le,Z,Fe)}),te.forEach(function(Z){f(void 0,Q[Z],j,ce,Le,Z,Fe)})}Fe.length=Fe.length-1}else H!==Q&&(Ve==="number"&&isNaN(H)&&isNaN(Q)||j(new r(Le,H,Q)))}function g(H,Q,j,ce){return ce=ce||[],f(H,Q,function(Ee){Ee&&ce.push(Ee)},j),ce.length?ce:void 0}function m(H,Q,j){if(j.path&&j.path.length){var ce,Ee=H[Q],Ie=j.path.length-1;for(ce=0;ce<Ie;ce++)Ee=Ee[j.path[ce]];switch(j.kind){case"A":m(Ee[j.path[ce]],j.index,j.item);break;case"D":delete Ee[j.path[ce]];break;case"E":case"N":Ee[j.path[ce]]=j.rhs}}else switch(j.kind){case"A":m(H[Q],j.index,j.item);break;case"D":H=u(H,Q);break;case"E":case"N":H[Q]=j.rhs}return H}function v(H,Q,j){if(H&&Q&&j&&j.kind){for(var ce=H,Ee=-1,Ie=j.path?j.path.length-1:0;++Ee<Ie;)typeof ce[j.path[Ee]]>"u"&&(ce[j.path[Ee]]=typeof j.path[Ee]=="number"?[]:{}),ce=ce[j.path[Ee]];switch(j.kind){case"A":m(j.path?ce[j.path[Ee]]:ce,j.index,j.item);break;case"D":delete ce[j.path[Ee]];break;case"E":case"N":ce[j.path[Ee]]=j.rhs}}}function w(H,Q,j){if(j.path&&j.path.length){var ce,Ee=H[Q],Ie=j.path.length-1;for(ce=0;ce<Ie;ce++)Ee=Ee[j.path[ce]];switch(j.kind){case"A":w(Ee[j.path[ce]],j.index,j.item);break;case"D":Ee[j.path[ce]]=j.lhs;break;case"E":Ee[j.path[ce]]=j.lhs;break;case"N":delete Ee[j.path[ce]]}}else switch(j.kind){case"A":w(H[Q],j.index,j.item);break;case"D":H[Q]=j.lhs;break;case"E":H[Q]=j.lhs;break;case"N":H=u(H,Q)}return H}function b(H,Q,j){if(H&&Q&&j&&j.kind){var ce,Ee,Ie=H;for(Ee=j.path.length-1,ce=0;ce<Ee;ce++)typeof Ie[j.path[ce]]>"u"&&(Ie[j.path[ce]]={}),Ie=Ie[j.path[ce]];switch(j.kind){case"A":w(Ie[j.path[ce]],j.index,j.item);break;case"D":Ie[j.path[ce]]=j.lhs;break;case"E":Ie[j.path[ce]]=j.lhs;break;case"N":delete Ie[j.path[ce]]}}}function y(H,Q,j){if(H&&Q){var ce=function(Ee){j&&!j(H,Q,Ee)||v(H,Q,Ee)};f(H,Q,ce)}}function R(H){return"color: "+ve[H].color+"; font-weight: bold"}function S(H){var Q=H.kind,j=H.path,ce=H.lhs,Ee=H.rhs,Ie=H.index,Fe=H.item;switch(Q){case"E":return[j.join("."),ce,"→",Ee];case"N":return[j.join("."),Ee];case"D":return[j.join(".")];case"A":return[j.join(".")+"["+Ie+"]",Fe];default:return[]}}function P(H,Q,j,ce){var Ee=g(H,Q);try{ce?j.groupCollapsed("diff"):j.group("diff")}catch{j.log("diff")}Ee?Ee.forEach(function(Ie){var Fe=Ie.kind,Le=S(Ie);j.log.apply(j,["%c "+ve[Fe].text,R(Fe)].concat(me(Le)))}):j.log("—— no diff ——");try{j.groupEnd()}catch{j.log("—— diff end —— ")}}function F(H,Q,j,ce){switch(typeof H>"u"?"undefined":J(H)){case"object":return typeof H[ce]=="function"?H[ce].apply(H,me(j)):H[ce];case"function":return H(Q);default:return H}}function A(H){var Q=H.timestamp,j=H.duration;return function(ce,Ee,Ie){var Fe=["action"];return Fe.push("%c"+String(ce.type)),Q&&Fe.push("%c@ "+Ee),j&&Fe.push("%c(in "+Ie.toFixed(2)+" ms)"),Fe.join(" ")}}function k(H,Q){var j=Q.logger,ce=Q.actionTransformer,Ee=Q.titleFormatter,Ie=Ee===void 0?A(Q):Ee,Fe=Q.collapsed,Le=Q.colors,$e=Q.level,Ve=Q.diff,yt=typeof Q.titleFormatter>"u";H.forEach(function(O,V){var U=O.started,ne=O.startedTime,te=O.action,Z=O.prevState,Se=O.error,Ce=O.took,he=O.nextState,ie=H[V+1];ie&&(he=ie.prevState,Ce=ie.started-U);var ke=ce(te),Te=typeof Fe=="function"?Fe(function(){return he},te,O):Fe,He=B(ne),ze=Le.title?"color: "+Le.title(ke)+";":"",Xe=["color: gray; font-weight: lighter;"];Xe.push(ze),Q.timestamp&&Xe.push("color: gray; font-weight: lighter;"),Q.duration&&Xe.push("color: gray; font-weight: lighter;");var rt=Ie(ke,He,Ce);try{Te?Le.title&&yt?j.groupCollapsed.apply(j,["%c "+rt].concat(Xe)):j.groupCollapsed(rt):Le.title&&yt?j.group.apply(j,["%c "+rt].concat(Xe)):j.group(rt)}catch{j.log(rt)}var it=F($e,ke,[Z],"prevState"),Ut=F($e,ke,[ke],"action"),$t=F($e,ke,[Se,Z],"error"),Yt=F($e,ke,[he],"nextState");if(it)if(Le.prevState){var wn="color: "+Le.prevState(Z)+"; font-weight: bold";j[it]("%c prev state",wn,Z)}else j[it]("prev state",Z);if(Ut)if(Le.action){var Si="color: "+Le.action(ke)+"; font-weight: bold";j[Ut]("%c action ",Si,ke)}else j[Ut]("action ",ke);if(Se&&$t)if(Le.error){var Go="color: "+Le.error(Se,Z)+"; font-weight: bold;";j[$t]("%c error ",Go,Se)}else j[$t]("error ",Se);if(Yt)if(Le.nextState){var nn="color: "+Le.nextState(he)+"; font-weight: bold";j[Yt]("%c next state",nn,he)}else j[Yt]("next state",he);Ve&&P(Z,he,j,Te);try{j.groupEnd()}catch{j.log("—— log end ——")}})}function L(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=Object.assign({},De,H),j=Q.logger,ce=Q.stateTransformer,Ee=Q.errorTransformer,Ie=Q.predicate,Fe=Q.logErrors,Le=Q.diffPredicate;if(typeof j>"u")return function(){return function(Ve){return function(yt){return Ve(yt)}}};if(H.getState&&H.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
|
|
624
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JP(Object(n),!0).forEach(function(i){Bn(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JP(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function FC(e,t){if(e==null)return{};var n,i,o=fq(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fq(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function gq(e){return uq(e)||dq(e)||vq(e)||hq()}function pq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mq(e){var t=pq(e,"string");return typeof t=="symbol"?t:t+""}function Xh(e){"@babel/helpers - typeof";return Xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xh(e)}function vq(e,t){if(e){if(typeof e=="string")return xC(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xC(e,t):void 0}}function PC(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Bn({},e,t):{}}function Cq(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(Bn(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),Bn(Bn(Bn(Bn(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(n).map(function(i){return n[i]?i:null}).filter(function(i){return i})}var wq=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},XP={exports:{}};(function(e){(function(t){var n=function(y,R,S){if(!u(R)||f(R)||g(R)||m(R)||l(R))return R;var P,F=0,A=0;if(h(R))for(P=[],A=R.length;F<A;F++)P.push(n(y,R[F],S));else{P={};for(var k in R)Object.prototype.hasOwnProperty.call(R,k)&&(P[y(k,S)]=n(y,R[k],S))}return P},i=function(y,R){R=R||{};var S=R.separator||"_",P=R.split||/(?=[A-Z])/;return y.split(P).join(S)},o=function(y){return v(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(R,S){return S?S.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var R=o(y);return R.substr(0,1).toUpperCase()+R.substr(1)},s=function(y,R){return i(y,R).toLowerCase()},a=Object.prototype.toString,l=function(y){return typeof y=="function"},u=function(y){return y===Object(y)},h=function(y){return a.call(y)=="[object Array]"},f=function(y){return a.call(y)=="[object Date]"},g=function(y){return a.call(y)=="[object RegExp]"},m=function(y){return a.call(y)=="[object Boolean]"},v=function(y){return y=y-0,y===y},w=function(y,R){var S=R&&"process"in R?R.process:R;return typeof S!="function"?y:function(P,F){return S(P,y,F)}},b={camelize:o,decamelize:s,pascalize:r,depascalize:s,camelizeKeys:function(y,R){return n(w(o,R),y)},decamelizeKeys:function(y,R){return n(w(s,R),y,R)},pascalizeKeys:function(y,R){return n(w(r,R),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(wq)})(XP);var bq=XP.exports,yq=["gradientFill"],Sq=["class","style"],Rq=["type","stops","id"];function xq(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var i=n.indexOf(":"),o=bq.camelize(n.slice(0,i)),r=n.slice(i+1).trim();return t[o]=r,t},{})}function Fq(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Pq(e,t){return rc("stop",Wt({key:"".concat(t,"-").concat(e.offset),offset:e.offset,"stop-color":e.color},e.opacity!==void 0&&{"stop-opacity":e.opacity}))}function eE(e){if(typeof e=="string")return e;var t=(e.children||[]).map(eE);return e.tag==="path"&&e.attributes&&"fill"in e.attributes?Wt(Wt({},e),{},{attributes:Wt(Wt({},e.attributes),{},{fill:void 0}),children:t}):Wt(Wt({},e),{},{children:t})}function tE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var i=t.gradientFill,o=i===void 0?null:i,r=FC(t,yq),s=!!o||"fill"in n,a=s?eE(e):e,l=(a.children||[]).map(function(P){return tE(P,{},{})}),u=Object.keys(a.attributes||{}).reduce(function(P,F){var A=a.attributes[F];switch(F){case"class":P.class=Fq(A);break;case"style":P.style=xq(A);break;default:P.attrs[F]=A}return P},{attrs:{},class:{},style:{}});n.class;var h=n.style,f=h===void 0?{}:h,g=FC(n,Sq);if(o&&o.id&&(o.type==="linear"||o.type==="radial")){var m=o.type,v=o.stops,w=v===void 0?[]:v,b=o.id,y=FC(o,Rq),R=m==="linear"?"linearGradient":"radialGradient",S=rc(R,Wt(Wt({},y),{},{id:b}),w.map(Pq));return rc(a.tag,Wt(Wt(Wt(Wt({},r),{},{class:u.class,style:Wt(Wt({},u.style),f)},u.attrs),g),{},{fill:"url(#".concat(b,")")}),[S].concat(gq(l)))}return rc(e.tag,Wt(Wt(Wt({},r),{},{class:u.class,style:Wt(Wt({},u.style),f)},u.attrs),g),l)}var nE=!1;try{nE=!0}catch{}function iE(){if(!nE&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function oE(e){if(e&&Xh(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(RC.icon)return RC.icon(e);if(e===null)return null;if(Xh(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var EC=wt({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1},gradientFill:{type:Object,default:null,validator:function(t){return typeof t.id!="string"||!t.id?(console.warn("FontAwesomeIcon: gradientFill.id must be a non-empty string"),!1):t.type!=="linear"&&t.type!=="radial"?(console.warn('FontAwesomeIcon: gradientFill.type must be "linear" or "radial"'),!1):!0}}},setup:function(t,n){var i=n.attrs,o=de(function(){return oE(t.icon)}),r=de(function(){return PC("classes",Cq(t))}),s=de(function(){return PC("transform",typeof t.transform=="string"?RC.transform(t.transform):t.transform)}),a=de(function(){return PC("mask",oE(t.mask))}),l=de(function(){var h=Wt(Wt(Wt(Wt({},r.value),s.value),a.value),{},{symbol:t.symbol,maskId:t.maskId});return h.title=t.title,h.titleId=t.titleId,ZP(o.value,h)});Jt(l,function(h){if(!h)return iE("Could not find one or more icon(s)",o.value,a.value)},{immediate:!0}),t.gradientFill&&t.symbol&&iE("gradientFill is not supported when symbol is true and will be ignored");var u=de(function(){return l.value?tE(l.value.abstract[0],{gradientFill:t.symbol?null:t.gradientFill},i):null});return function(){return u.value}}});function Eq(){let e=null,t=null;return{clear(){e=null,t=null},notify(){let n=e;for(;n;)n.callback(),n=n.next},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!i||e===null||(i=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}const rE={notify(){},get:()=>[]};function Dq(e,t){let n,i=rE,o=0,r=!1;function s(w){h();const b=i.subscribe(w);let y=!1;return()=>{y||(y=!0,b(),f())}}function a(){i.notify()}function l(){v.onStateChange&&v.onStateChange()}function u(){return r}function h(){o++,n||(n=e.subscribe(l),i=Eq())}function f(){o--,n&&o===0&&(n(),n=void 0,i.clear(),i=rE)}function g(){r||(r=!0,h())}function m(){r&&(r=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:u,trySubscribe:g,tryUnsubscribe:m,getListeners:()=>i};return v}const cs=Symbol.for("vue-redux-context");function Tq({store:e}){const t=Dq(e);return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),{store:e,subscription:t}}function DC(e,{store:t,context:n}){const i=Tq({store:t}),o=n||cs;e.provide(o,i)}function TC(e=cs){return function(){return Kl(e)}}const sE=TC();function aE(e=cs){const t=e===cs?sE:TC(e),n=()=>{const{store:i}=t();return i};return Object.assign(n,{withTypes:()=>n}),n}const Aq=aE();function Iq(e=cs){const t=e===cs?Aq:aE(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}const Mq=Iq();function kq(e,t){let n=e;return{untrackedValue:{get(){return n},set(i){}},ref:sy((i,o)=>({get(){return i(),n},set(r){t(n,r)||(n=r,o())}}))}}const Lq=(e,t)=>e===t;function Oq(e=cs){const t=e===cs?sE:TC(e),n=(i,o={})=>{const{equalityFn:r=Lq}=typeof o=="function"?{equalityFn:o}:o,{store:s,subscription:a}=t(),l=kq(i(s.getState()),r);return Jt(()=>s,(u,h,f)=>{const g=a.addNestedSub(()=>{const m=i(s.getState());l.ref.value=m});f(()=>{g()})},{immediate:!0,deep:!1}),XI(l.ref)};return Object.assign(n,{withTypes:()=>n}),n}const _q=Oq();function Pn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Nq=typeof Symbol=="function"&&Symbol.observable||"@@observable",lE=Nq,AC=()=>Math.random().toString(36).substring(7).split("").join("."),Bq={INIT:`@@redux/INIT${AC()}`,REPLACE:`@@redux/REPLACE${AC()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${AC()}`},ef=Bq;function us(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function cE(e,t,n){if(typeof e!="function")throw new Error(Pn(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Pn(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Pn(1));return n(cE)(e,t)}let i=e,o=t,r=new Map,s=r,a=0,l=!1;function u(){s===r&&(s=new Map,r.forEach((b,y)=>{s.set(y,b)}))}function h(){if(l)throw new Error(Pn(3));return o}function f(b){if(typeof b!="function")throw new Error(Pn(4));if(l)throw new Error(Pn(5));let y=!0;u();const R=a++;return s.set(R,b),function(){if(y){if(l)throw new Error(Pn(6));y=!1,u(),s.delete(R),r=null}}}function g(b){if(!us(b))throw new Error(Pn(7));if(typeof b.type>"u")throw new Error(Pn(8));if(typeof b.type!="string")throw new Error(Pn(17));if(l)throw new Error(Pn(9));try{l=!0,o=i(o,b)}finally{l=!1}return(r=s).forEach(R=>{R()}),b}function m(b){if(typeof b!="function")throw new Error(Pn(10));i=b,g({type:ef.REPLACE})}function v(){const b=f;return{subscribe(y){if(typeof y!="object"||y===null)throw new Error(Pn(11));function R(){const P=y;P.next&&P.next(h())}return R(),{unsubscribe:b(R)}},[lE](){return this}}}return g({type:ef.INIT}),{dispatch:g,subscribe:f,getState:h,replaceReducer:m,[lE]:v}}function Hq(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:ef.INIT})>"u")throw new Error(Pn(12));if(typeof n(void 0,{type:ef.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pn(13))})}function uE(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const s=t[r];typeof e[s]=="function"&&(n[s]=e[s])}const i=Object.keys(n);let o;try{Hq(n)}catch(r){o=r}return function(s={},a){if(o)throw o;let l=!1;const u={};for(let h=0;h<i.length;h++){const f=i[h],g=n[f],m=s[f],v=g(m,a);if(typeof v>"u")throw a&&a.type,new Error(Pn(14));u[f]=v,l=l||v!==m}return l=l||i.length!==Object.keys(s).length,l?u:s}}function tf(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function Gq(...e){return t=>(n,i)=>{const o=t(n,i);let r=()=>{throw new Error(Pn(15))};const s={getState:o.getState,dispatch:(l,...u)=>r(l,...u)},a=e.map(l=>l(s));return r=tf(...a)(o.dispatch),{...o,dispatch:r}}}function dE(e){return us(e)&&"type"in e&&typeof e.type=="string"}var IC=Symbol.for("immer-nothing"),Xc=Symbol.for("immer-draftable"),vn=Symbol.for("immer-state");function En(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var wi=Object,ca=wi.getPrototypeOf,eu="constructor",tu="prototype",MC="configurable",nf="enumerable",of="writable",nu="value",bi=e=>!!e&&!!e[vn];function yi(e){return e?fE(e)||ru(e)||!!e[Xc]||!!e[eu]?.[Xc]||su(e)||au(e):!1}var Vq=wi[tu][eu].toString(),hE=new WeakMap;function fE(e){if(!e||!yl(e))return!1;const t=ca(e);if(t===null||t===wi[tu])return!0;const n=wi.hasOwnProperty.call(t,eu)&&t[eu];if(n===Object)return!0;if(!da(n))return!1;let i=hE.get(n);return i===void 0&&(i=Function.toString.call(n),hE.set(n,i)),i===Vq}function Wq(e){return bi(e)||En(15,e),e[vn].base_}function iu(e,t,n=!0){ua(e)===0?(n?Reflect.ownKeys(e):wi.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((i,o)=>t(o,i,e))}function ua(e){const t=e[vn];return t?t.type_:ru(e)?1:su(e)?2:au(e)?3:0}var ou=(e,t,n=ua(e))=>n===2?e.has(t):wi[tu].hasOwnProperty.call(e,t),gr=(e,t,n=ua(e))=>n===2?e.get(t):e[t],rf=(e,t,n,i=ua(e))=>{i===2?e.set(t,n):i===3?e.add(n):e[t]=n};function zq(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var ru=Array.isArray,su=e=>e instanceof Map,au=e=>e instanceof Set,yl=e=>typeof e=="object",da=e=>typeof e=="function",kC=e=>typeof e=="boolean";function Uq(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var $q=e=>yl(e)?e?.[vn]:null,pr=e=>e.copy_||e.base_,LC=e=>e.modified_?e.copy_:e.base_;function OC(e,t){if(su(e))return new Map(e);if(au(e))return new Set(e);if(ru(e))return Array[tu].slice.call(e);const n=fE(e);if(t===!0||t==="class_only"&&!n){const i=wi.getOwnPropertyDescriptors(e);delete i[vn];let o=Reflect.ownKeys(i);for(let r=0;r<o.length;r++){const s=o[r],a=i[s];a[of]===!1&&(a[of]=!0,a[MC]=!0),(a.get||a.set)&&(i[s]={[MC]:!0,[of]:!0,[nf]:a[nf],[nu]:e[s]})}return wi.create(ca(e),i)}else{const i=ca(e);if(i!==null&&n)return{...e};const o=wi.create(i);return wi.assign(o,e)}}function _C(e,t=!1){return af(e)||bi(e)||!yi(e)||(ua(e)>1&&wi.defineProperties(e,{set:sf,add:sf,clear:sf,delete:sf}),wi.freeze(e),t&&iu(e,(n,i)=>{_C(i,!0)},!1)),e}function jq(){En(2)}var sf={[nu]:jq};function af(e){return e===null||!yl(e)?!0:wi.isFrozen(e)}var lf="MapSet",cf="Patches",gE="ArrayMethods",uf={};function ha(e){const t=uf[e];return t||En(0,e),t}var pE=e=>!!uf[e];function Kq(e,t){uf[e]||(uf[e]=t)}var lu,mE=()=>lu,qq=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:pE(lf)?ha(lf):void 0,arrayMethodsPlugin_:pE(gE)?ha(gE):void 0});function vE(e,t){t&&(e.patchPlugin_=ha(cf),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function NC(e){BC(e),e.drafts_.forEach(Qq),e.drafts_=null}function BC(e){e===lu&&(lu=e.parent_)}var CE=e=>lu=qq(lu,e);function Qq(e){const t=e[vn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wE(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[vn].modified_&&(NC(t),En(4)),yi(e)&&(e=bE(t,e));const{patchPlugin_:o}=t;o&&o.generateReplacementPatches_(n[vn].base_,e,t)}else e=bE(t,n);return Yq(t,e,!0),NC(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==IC?e:void 0}function bE(e,t){if(af(t))return t;const n=t[vn];if(!n)return hf(t,e.handledSet_,e);if(!df(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:i}=n;if(i)for(;i.length>0;)i.pop()(e);RE(n,e)}return n.copy_}function Yq(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_C(t,n)}function yE(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var df=(e,t)=>e.scope_===t,Zq=[];function SE(e,t,n,i){const o=pr(e),r=e.type_;if(i!==void 0&&gr(o,i,r)===t){rf(o,i,n,r);return}if(!e.draftLocations_){const a=e.draftLocations_=new Map;iu(o,(l,u)=>{if(bi(u)){const h=a.get(u)||[];h.push(l),a.set(u,h)}})}const s=e.draftLocations_.get(t)??Zq;for(const a of s)rf(o,a,n,r)}function Jq(e,t,n){e.callbacks_.push(function(o){const r=t;if(!r||!df(r,o))return;o.mapSetPlugin_?.fixSetContents(r);const s=LC(r);SE(e,r.draft_??r,s,n),RE(r,o)})}function RE(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:i}=t;if(i){const o=i.getPath(e);o&&i.generatePatches_(e,o,t)}yE(e)}}function Xq(e,t,n){const{scope_:i}=e;if(bi(n)){const o=n[vn];df(o,i)&&o.callbacks_.push(function(){gf(e);const s=LC(o);SE(e,n,s,t)})}else yi(n)&&e.callbacks_.push(function(){const r=pr(e);e.type_===3?r.has(n)&&hf(n,i.handledSet_,i):gr(r,t,e.type_)===n&&i.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&hf(gr(e.copy_,t,e.type_),i.handledSet_,i)})}function hf(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||bi(e)||t.has(e)||!yi(e)||af(e)||(t.add(e),iu(e,(i,o)=>{if(bi(o)){const r=o[vn];if(df(r,n)){const s=LC(r);rf(e,i,s,e.type_),yE(r)}}else yi(o)&&hf(o,t,n)})),e}function eQ(e,t){const n=ru(e),i={type_:n?1:0,scope_:t?t.scope_:mE(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=i,r=ff;n&&(o=[i],r=cu);const{revoke:s,proxy:a}=Proxy.revocable(o,r);return i.draft_=a,i.revoke_=s,[a,i]}var ff={get(e,t){if(t===vn)return e;let n=e.scope_.arrayMethodsPlugin_;const i=e.type_===1&&typeof t=="string";if(i&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const o=pr(e);if(!ou(o,t,e.type_))return tQ(e,o,t);const r=o[t];if(e.finalized_||!yi(r)||i&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Uq(t))return r;if(r===HC(e.base_,t)){gf(e);const s=e.type_===1?+t:t,a=VC(e.scope_,r,e,s);return e.copy_[s]=a}return r},has(e,t){return t in pr(e)},ownKeys(e){return Reflect.ownKeys(pr(e))},set(e,t,n){const i=xE(pr(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=HC(pr(e),t),r=o?.[vn];if(r&&r.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(zq(n,o)&&(n!==void 0||ou(e.base_,t,e.type_)))return!0;gf(e),GC(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),Xq(e,t,n)),!0},deleteProperty(e,t){return gf(e),HC(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),GC(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=pr(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{[of]:!0,[MC]:e.type_!==1||t!=="length",[nf]:i[nf],[nu]:n[t]}},defineProperty(){En(11)},getPrototypeOf(e){return ca(e.base_)},setPrototypeOf(){En(12)}},cu={};for(let e in ff){let t=ff[e];cu[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}cu.deleteProperty=function(e,t){return cu.set.call(this,e,t,void 0)},cu.set=function(e,t,n){return ff.set.call(this,e[0],t,n,e[0])};function HC(e,t){const n=e[vn];return(n?pr(n):e)[t]}function tQ(e,t,n){const i=xE(t,n);return i?nu in i?i[nu]:i.get?.call(e.draft_):void 0}function xE(e,t){if(!(t in e))return;let n=ca(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=ca(n)}}function GC(e){e.modified_||(e.modified_=!0,e.parent_&&GC(e.parent_))}function gf(e){e.copy_||(e.assigned_=new Map,e.copy_=OC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var nQ=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,i)=>{if(da(t)&&!da(n)){const r=n;n=t;const s=this;return function(l=r,...u){return s.produce(l,h=>n.call(this,h,...u))}}da(n)||En(6),i!==void 0&&!da(i)&&En(7);let o;if(yi(t)){const r=CE(this),s=VC(r,t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?NC(r):BC(r)}return vE(r,i),wE(o,r)}else if(!t||!yl(t)){if(o=n(t),o===void 0&&(o=t),o===IC&&(o=void 0),this.autoFreeze_&&_C(o,!0),i){const r=[],s=[];ha(cf).generateReplacementPatches_(t,o,{patches_:r,inversePatches_:s}),i(r,s)}return o}else En(1,t)},this.produceWithPatches=(t,n)=>{if(da(t))return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let i,o;return[this.produce(t,n,(s,a)=>{i=s,o=a}),i,o]},kC(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),kC(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),kC(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){yi(e)||En(8),bi(e)&&(e=FE(e));const t=CE(this),n=VC(t,e,void 0);return n[vn].isManual_=!0,BC(t),n}finishDraft(e,t){const n=e&&e[vn];(!n||!n.isManual_)&&En(9);const{scope_:i}=n;return vE(i,t),wE(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=ha(cf).applyPatches_;return bi(e)?i(e,t):this.produce(e,o=>i(o,t))}};function VC(e,t,n,i){const[o,r]=su(t)?ha(lf).proxyMap_(t,n):au(t)?ha(lf).proxySet_(t,n):eQ(t,n);return(n?.scope_??mE()).drafts_.push(o),r.callbacks_=n?.callbacks_??[],r.key_=i,n&&i!==void 0?Jq(n,r,i):r.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(r);const{patchPlugin_:u}=l;r.modified_&&u&&u.generatePatches_(r,[],l)}),o}function FE(e){return bi(e)||En(10,e),PE(e)}function PE(e){if(!yi(e)||af(e))return e;const t=e[vn];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=OC(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=OC(e,!0);return iu(n,(o,r)=>{rf(n,o,PE(r))},i),t&&(t.finalized_=!1),n}function iQ(){function t(v,w=[]){if(v.key_!==void 0){const b=v.parent_.copy_??v.parent_.base_,y=$q(gr(b,v.key_)),R=gr(b,v.key_);if(R===void 0||R!==v.draft_&&R!==v.base_&&R!==v.copy_||y!=null&&y.base_!==v.base_)return null;const S=v.parent_.type_===3;let P;if(S){const F=v.parent_;P=Array.from(F.drafts_.keys()).indexOf(v.key_)}else P=v.key_;if(!(S&&b.size>P||ou(b,P)))return null;w.push(P)}if(v.parent_)return t(v.parent_,w);w.reverse();try{n(v.copy_,w)}catch{return null}return w}function n(v,w){let b=v;for(let y=0;y<w.length-1;y++){const R=w[y];if(b=gr(b,R),!yl(b)||b===null)throw new Error(`Cannot resolve path at '${w.join("/")}'`)}return b}const i="replace",o="add",r="remove";function s(v,w,b){if(v.scope_.processedForPatches_.has(v))return;v.scope_.processedForPatches_.add(v);const{patches_:y,inversePatches_:R}=b;switch(v.type_){case 0:case 2:return l(v,w,y,R);case 1:return a(v,w,y,R);case 3:return u(v,w,y,R)}}function a(v,w,b,y){let{base_:R,assigned_:S}=v,P=v.copy_;P.length<R.length&&([R,P]=[P,R],[b,y]=[y,b]);const F=v.allIndicesReassigned_===!0;for(let A=0;A<R.length;A++){const k=P[A],L=R[A];if((F||S?.get(A.toString()))&&k!==L){const M=k?.[vn];if(M&&M.modified_)continue;const E=w.concat([A]);b.push({op:i,path:E,value:m(k)}),y.push({op:i,path:E,value:m(L)})}}for(let A=R.length;A<P.length;A++){const k=w.concat([A]);b.push({op:o,path:k,value:m(P[A])})}for(let A=P.length-1;R.length<=A;--A){const k=w.concat([A]);y.push({op:r,path:k})}}function l(v,w,b,y){const{base_:R,copy_:S,type_:P}=v;iu(v.assigned_,(F,A)=>{const k=gr(R,F,P),L=gr(S,F,P),N=A?ou(R,F)?i:o:r;if(k===L&&N===i)return;const M=w.concat(F);b.push(N===r?{op:N,path:M}:{op:N,path:M,value:m(L)}),y.push(N===o?{op:r,path:M}:N===r?{op:o,path:M,value:m(k)}:{op:i,path:M,value:m(k)})})}function u(v,w,b,y){let{base_:R,copy_:S}=v,P=0;R.forEach(F=>{if(!S.has(F)){const A=w.concat([P]);b.push({op:r,path:A,value:F}),y.unshift({op:o,path:A,value:F})}P++}),P=0,S.forEach(F=>{if(!R.has(F)){const A=w.concat([P]);b.push({op:o,path:A,value:F}),y.unshift({op:r,path:A,value:F})}P++})}function h(v,w,b){const{patches_:y,inversePatches_:R}=b;y.push({op:i,path:[],value:w===IC?void 0:w}),R.push({op:i,path:[],value:v})}function f(v,w){return w.forEach(b=>{const{path:y,op:R}=b;let S=v;for(let k=0;k<y.length-1;k++){const L=ua(S);let N=y[k];typeof N!="string"&&typeof N!="number"&&(N=""+N),(L===0||L===1)&&(N==="__proto__"||N===eu)&&En(19),da(S)&&N===tu&&En(19),S=gr(S,N),yl(S)||En(18,y.join("/"))}const P=ua(S),F=g(b.value),A=y[y.length-1];switch(R){case i:switch(P){case 2:return S.set(A,F);case 3:En(16);default:return S[A]=F}case o:switch(P){case 1:return A==="-"?S.push(F):S.splice(A,0,F);case 2:return S.set(A,F);case 3:return S.add(F);default:return S[A]=F}case r:switch(P){case 1:return S.splice(A,1);case 2:return S.delete(A);case 3:return S.delete(b.value);default:return delete S[A]}default:En(17,R)}}),v}function g(v){if(!yi(v))return v;if(ru(v))return v.map(g);if(su(v))return new Map(Array.from(v.entries()).map(([b,y])=>[b,g(y)]));if(au(v))return new Set(Array.from(v).map(g));const w=Object.create(ca(v));for(const b in v)w[b]=g(v[b]);return ou(v,Xc)&&(w[Xc]=v[Xc]),w}function m(v){return bi(v)?g(v):v}Kq(cf,{applyPatches_:f,generatePatches_:s,generateReplacementPatches_:h,getPath:t})}var uu=new nQ,du=uu.produce,EE=uu.produceWithPatches.bind(uu),DE=uu.applyPatches.bind(uu);function oQ(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function rQ(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function sQ(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var TE=e=>Array.isArray(e)?e:[e];function aQ(e){const t=Array.isArray(e[0])?e[0]:e;return sQ(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function lQ(e,t){const n=[],{length:i}=e;for(let o=0;o<i;o++)n.push(e[o].apply(null,t));return n}var cQ=class{constructor(e){this.value=e}deref(){return this.value}},uQ=typeof WeakRef<"u"?WeakRef:cQ,dQ=0,AE=1;function pf(){return{s:dQ,v:void 0,o:null,p:null}}function mf(e,t={}){let n=pf();const{resultEqualityCheck:i}=t;let o,r=0;function s(){let a=n;const{length:l}=arguments;for(let f=0,g=l;f<g;f++){const m=arguments[f];if(typeof m=="function"||typeof m=="object"&&m!==null){let v=a.o;v===null&&(a.o=v=new WeakMap);const w=v.get(m);w===void 0?(a=pf(),v.set(m,a)):a=w}else{let v=a.p;v===null&&(a.p=v=new Map);const w=v.get(m);w===void 0?(a=pf(),v.set(m,a)):a=w}}const u=a;let h;if(a.s===AE)h=a.v;else if(h=e.apply(null,arguments),r++,i){const f=o?.deref?.()??o;f!=null&&i(f,h)&&(h=f,r!==0&&r--),o=typeof h=="object"&&h!==null||typeof h=="function"?new uQ(h):h}return u.s=AE,u.v=h,h}return s.clearCache=()=>{n=pf(),s.resetResultsCount()},s.resultsCount=()=>r,s.resetResultsCount=()=>{r=0},s}function hQ(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...o)=>{let r=0,s=0,a,l={},u=o.pop();typeof u=="object"&&(l=u,u=o.pop()),oQ(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const h={...n,...l},{memoize:f,memoizeOptions:g=[],argsMemoize:m=mf,argsMemoizeOptions:v=[]}=h,w=TE(g),b=TE(v),y=aQ(o),R=f(function(){return r++,u.apply(null,arguments)},...w),S=m(function(){s++;const F=lQ(y,arguments);return a=R.apply(null,F),a},...b);return Object.assign(S,{resultFunc:u,memoizedResultFunc:R,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:f,argsMemoize:m})};return Object.assign(i,{withTypes:()=>i}),i}var IE=hQ(mf),fQ=Object.assign((e,t=IE)=>{rQ(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(r=>e[r]);return t(i,(...r)=>r.reduce((s,a,l)=>(s[n[l]]=a,s),{}))},{withTypes:()=>fQ});function ME(e){return({dispatch:n,getState:i})=>o=>r=>typeof r=="function"?r(n,i,e):o(r)}var gQ=ME(),pQ=ME,mQ=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tf:tf.apply(null,arguments)},vQ=e=>e&&typeof e.match=="function";function ho(e,t){function n(...i){if(t){let o=t(...i);if(!o)throw new Error(Ho(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>dE(i)&&i.type===e,n}var kE=class zu extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,zu.prototype)}static get[Symbol.species](){return zu}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new zu(...t[0].concat(this)):new zu(...t.concat(this))}};function LE(e){return yi(e)?du(e,()=>{}):e}function vf(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function CQ(e){return typeof e=="boolean"}var wQ=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:o=!0,actionCreatorCheck:r=!0}=t??{};let s=new kE;return n&&(CQ(n)?s.push(gQ):s.push(pQ(n.extraArgument))),s},Cf="RTK_autoBatch",hu=()=>e=>({payload:e,meta:{[Cf]:!0}}),OE=e=>t=>{setTimeout(t,e)},bQ=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let o=!0,r=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:OE(10):e.type==="callback"?e.queueNotification:OE(e.timeout),u=()=>{s=!1,r&&(r=!1,a.forEach(h=>h()))};return Object.assign({},i,{subscribe(h){const f=()=>o&&h(),g=i.subscribe(f);return a.add(h),()=>{g(),a.delete(h)}},dispatch(h){try{return o=!h?.meta?.[Cf],r=!o,r&&(s||(s=!0,l(u))),i.dispatch(h)}finally{o=!0}}})},yQ=e=>function(n){const{autoBatch:i=!0}=n??{};let o=new kE(e);return i&&o.push(bQ(typeof i=="object"?i:void 0)),o};function SQ(e){const t=wQ(),{reducer:n=void 0,middleware:i,devTools:o=!0,preloadedState:r=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(us(n))a=uE(n);else throw new Error(Ho(1));let l;typeof i=="function"?l=i(t):l=t();let u=tf;o&&(u=mQ({trace:!1,...typeof o=="object"&&o}));const h=Gq(...l),f=yQ(h);let g=typeof s=="function"?s(f):f();const m=u(...g);return cE(a,r,m)}function _E(e){const t={},n=[];let i;const o={addCase(r,s){const a=typeof r=="string"?r:r.type;if(!a)throw new Error(Ho(28));if(a in t)throw new Error(Ho(29));return t[a]=s,o},addAsyncThunk(r,s){return s.pending&&(t[r.pending.type]=s.pending),s.rejected&&(t[r.rejected.type]=s.rejected),s.fulfilled&&(t[r.fulfilled.type]=s.fulfilled),s.settled&&n.push({matcher:r.settled,reducer:s.settled}),o},addMatcher(r,s){return n.push({matcher:r,reducer:s}),o},addDefaultCase(r){return i=r,o}};return e(o),[t,n,i]}function RQ(e){return typeof e=="function"}function xQ(e,t){let[n,i,o]=_E(t),r;if(RQ(e))r=()=>LE(e());else{const a=LE(e);r=()=>a}function s(a=r(),l){let u=[n[l.type],...i.filter(({matcher:h})=>h(l)).map(({reducer:h})=>h)];return u.filter(h=>!!h).length===0&&(u=[o]),u.reduce((h,f)=>{if(f)if(bi(h)){const m=f(h,l);return m===void 0?h:m}else{if(yi(h))return du(h,g=>f(g,l));{const g=f(h,l);if(g===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return g}}return h},a)}return s.getInitialState=r,s}var NE=(e,t)=>vQ(e)?e.match(t):e(t);function mr(...e){return t=>e.some(n=>NE(n,t))}function fu(...e){return t=>e.every(n=>NE(n,t))}function wf(e,t){if(!e||!e.meta)return!1;const n=typeof e.meta.requestId=="string",i=t.indexOf(e.meta.requestStatus)>-1;return n&&i}function gu(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function WC(...e){return e.length===0?t=>wf(t,["pending"]):gu(e)?mr(...e.map(t=>t.pending)):WC()(e[0])}function Sl(...e){return e.length===0?t=>wf(t,["rejected"]):gu(e)?mr(...e.map(t=>t.rejected)):Sl()(e[0])}function bf(...e){const t=n=>n&&n.meta&&n.meta.rejectedWithValue;return e.length===0?fu(Sl(...e),t):gu(e)?fu(Sl(...e),t):bf()(e[0])}function ds(...e){return e.length===0?t=>wf(t,["fulfilled"]):gu(e)?mr(...e.map(t=>t.fulfilled)):ds()(e[0])}function zC(...e){return e.length===0?t=>wf(t,["pending","fulfilled","rejected"]):gu(e)?mr(...e.flatMap(t=>[t.pending,t.rejected,t.fulfilled])):zC()(e[0])}var FQ="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",UC=(e=21)=>{let t="",n=e;for(;n--;)t+=FQ[Math.random()*64|0];return t},PQ=["name","message","stack","code"],$C=class{constructor(e,t){this.payload=e,this.meta=t}_type},BE=class{constructor(e,t){this.payload=e,this.meta=t}_type},EQ=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of PQ)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},HE="External signal was aborted",GE=(()=>{function e(t,n,i){const o=ho(t+"/fulfilled",(l,u,h,f)=>({payload:l,meta:{...f||{},arg:h,requestId:u,requestStatus:"fulfilled"}})),r=ho(t+"/pending",(l,u,h)=>({payload:void 0,meta:{...h||{},arg:u,requestId:l,requestStatus:"pending"}})),s=ho(t+"/rejected",(l,u,h,f,g)=>({payload:f,error:(i&&i.serializeError||EQ)(l||"Rejected"),meta:{...g||{},arg:h,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:l?.name==="AbortError",condition:l?.name==="ConditionError"}}));function a(l,{signal:u}={}){return(h,f,g)=>{const m=i?.idGenerator?i.idGenerator(l):UC(),v=new AbortController;let w,b;function y(S){b=S,v.abort()}u&&(u.aborted?y(HE):u.addEventListener("abort",()=>y(HE),{once:!0}));const R=(async function(){let S;try{let F=i?.condition?.(l,{getState:f,extra:g});if(TQ(F)&&(F=await F),F===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const A=new Promise((k,L)=>{w=()=>{L({name:"AbortError",message:b||"Aborted"})},v.signal.addEventListener("abort",w,{once:!0})});h(r(m,l,i?.getPendingMeta?.({requestId:m,arg:l},{getState:f,extra:g}))),S=await Promise.race([A,Promise.resolve(n(l,{dispatch:h,getState:f,extra:g,requestId:m,signal:v.signal,abort:y,rejectWithValue:(k,L)=>new $C(k,L),fulfillWithValue:(k,L)=>new BE(k,L)})).then(k=>{if(k instanceof $C)throw k;return k instanceof BE?o(k.payload,m,l,k.meta):o(k,m,l)})])}catch(F){S=F instanceof $C?s(null,m,l,F.payload,F.meta):s(F,m,l)}finally{w&&v.signal.removeEventListener("abort",w)}return i&&!i.dispatchConditionRejection&&s.match(S)&&S.meta.condition||h(S),S})();return Object.assign(R,{abort:y,requestId:m,arg:l,unwrap(){return R.then(DQ)}})}}return Object.assign(a,{pending:r,rejected:s,fulfilled:o,settled:mr(s,o),typePrefix:t})}return e.withTypes=()=>e,e})();function DQ(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function TQ(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var AQ=Symbol.for("rtk-slice-createasyncthunk");function IQ(e,t){return`${e}/${t}`}function MQ({creators:e}={}){const t=e?.asyncThunk?.[AQ];return function(i){const{name:o,reducerPath:r=o}=i;if(!o)throw new Error(Ho(11));const s=(typeof i.reducers=="function"?i.reducers(LQ()):i.reducers)||{},a=Object.keys(s),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(S,P){const F=typeof S=="string"?S:S.type;if(!F)throw new Error(Ho(12));if(F in l.sliceCaseReducersByType)throw new Error(Ho(13));return l.sliceCaseReducersByType[F]=P,u},addMatcher(S,P){return l.sliceMatchers.push({matcher:S,reducer:P}),u},exposeAction(S,P){return l.actionCreators[S]=P,u},exposeCaseReducer(S,P){return l.sliceCaseReducersByName[S]=P,u}};a.forEach(S=>{const P=s[S],F={reducerName:S,type:IQ(o,S),createNotation:typeof i.reducers=="function"};_Q(P)?BQ(F,P,u,t):OQ(F,P,u)});function h(){const[S={},P=[],F=void 0]=typeof i.extraReducers=="function"?_E(i.extraReducers):[i.extraReducers],A={...S,...l.sliceCaseReducersByType};return xQ(i.initialState,k=>{for(let L in A)k.addCase(L,A[L]);for(let L of l.sliceMatchers)k.addMatcher(L.matcher,L.reducer);for(let L of P)k.addMatcher(L.matcher,L.reducer);F&&k.addDefaultCase(F)})}const f=S=>S,g=new Map,m=new WeakMap;let v;function w(S,P){return v||(v=h()),v(S,P)}function b(){return v||(v=h()),v.getInitialState()}function y(S,P=!1){function F(k){let L=k[S];return typeof L>"u"&&P&&(L=vf(m,F,b)),L}function A(k=f){const L=vf(g,P,()=>new WeakMap);return vf(L,k,()=>{const N={};for(const[M,E]of Object.entries(i.selectors??{}))N[M]=kQ(E,k,()=>vf(m,k,b),P);return N})}return{reducerPath:S,getSelectors:A,get selectors(){return A(F)},selectSlice:F}}const R={name:o,reducer:w,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:b,...y(r),injectInto(S,{reducerPath:P,...F}={}){const A=P??r;return S.inject({reducerPath:A,reducer:w},F),{...R,...y(A,!0)}}};return R}}function kQ(e,t,n,i){function o(r,...s){let a=t(r);return typeof a>"u"&&i&&(a=n()),e(a,...s)}return o.unwrapped=e,o}var fa=MQ();function LQ(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function OQ({type:e,reducerName:t,createNotation:n},i,o){let r,s;if("reducer"in i){if(n&&!NQ(i))throw new Error(Ho(17));r=i.reducer,s=i.prepare}else r=i;o.addCase(e,r).exposeCaseReducer(t,r).exposeAction(t,s?ho(e,s):ho(e))}function _Q(e){return e._reducerDefinitionType==="asyncThunk"}function NQ(e){return e._reducerDefinitionType==="reducerWithPrepare"}function BQ({type:e,reducerName:t},n,i,o){if(!o)throw new Error(Ho(18));const{payloadCreator:r,fulfilled:s,pending:a,rejected:l,settled:u,options:h}=n,f=o(e,r,h);i.exposeAction(t,f),s&&i.addCase(f.fulfilled,s),a&&i.addCase(f.pending,a),l&&i.addCase(f.rejected,l),u&&i.addMatcher(f.settled,u),i.exposeCaseReducer(t,{fulfilled:s||yf,pending:a||yf,rejected:l||yf,settled:u||yf})}function yf(){}function Ho(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var HQ=class extends Error{issues;constructor(e){super(e[0].message),this.name="SchemaError",this.issues=e}},vr="uninitialized",jC="pending",pu="fulfilled",mu="rejected";function VE(e){return{status:e,isUninitialized:e===vr,isLoading:e===jC,isSuccess:e===pu,isError:e===mu}}var WE=us;function zE(e,t){if(e===t||!(WE(e)&&WE(t)||Array.isArray(e)&&Array.isArray(t)))return t;const n=Object.keys(t),i=Object.keys(e);let o=n.length===i.length;const r=Array.isArray(t)?[]:{};for(const s of n)r[s]=zE(e[s],t[s]),o&&(o=e[s]===r[s]);return o?e:r}function KC(e,t,n){return e.reduce((i,o,r)=>(t(o,r)&&i.push(n(o,r)),i),[]).flat()}function GQ(e){return new RegExp("(^|:)//").test(e)}function VQ(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}function qC(e){return e!=null}function UE(e){return[...e?.values()??[]].filter(qC)}function WQ(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}var zQ=e=>e.replace(/\/$/,""),UQ=e=>e.replace(/^\//,"");function $Q(e,t){if(!e)return t;if(!t)return e;if(GQ(t))return t;const n=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zQ(e),t=UQ(t),`${e}${n}${t}`}function Sf(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}var QC=()=>new Map,jQ=e=>{const t=new AbortController;return setTimeout(()=>{const n="signal timed out",i="TimeoutError";t.abort(typeof DOMException<"u"?new DOMException(n,i):Object.assign(new Error(n),{name:i}))},e),t.signal},KQ=(...e)=>{for(const n of e)if(n.aborted)return AbortSignal.abort(n.reason);const t=new AbortController;for(const n of e)n.addEventListener("abort",()=>t.abort(n.reason),{signal:t.signal,once:!0});return t.signal},$E=(...e)=>fetch(...e),qQ=e=>e.status>=200&&e.status<=299,QQ=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function jE(e){if(!us(e))return e;const t={...e};for(const[n,i]of Object.entries(t))i===void 0&&delete t[n];return t}var YQ=e=>typeof e=="object"&&(us(e)||Array.isArray(e)||typeof e.toJSON=="function");function ZQ({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:n=$E,paramsSerializer:i,isJsonContentType:o=QQ,jsonContentType:r="application/json",jsonReplacer:s,timeout:a,responseHandler:l,validateStatus:u,...h}={}){return typeof fetch>"u"&&n===$E&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(g,m,v)=>{const{getState:w,extra:b,endpoint:y,forced:R,type:S}=m;let P,{url:F,headers:A=new Headers(h.headers),params:k=void 0,responseHandler:L=l??"json",validateStatus:N=u??qQ,timeout:M=a,...E}=typeof g=="string"?{url:g}:g,I={...h,signal:M?KQ(m.signal,jQ(M)):m.signal,...E};A=new Headers(jE(A)),I.headers=await t(A,{getState:w,arg:g,extra:b,endpoint:y,forced:R,type:S,extraOptions:v})||A;const B=YQ(I.body);if(I.body!=null&&!B&&typeof I.body!="string"&&I.headers.delete("content-type"),!I.headers.has("content-type")&&B&&I.headers.set("content-type",r),B&&o(I.headers)&&(I.body=JSON.stringify(I.body,s)),I.headers.has("accept")||(L==="json"?I.headers.set("accept","application/json"):L==="text"&&I.headers.set("accept","text/plain, text/html, */*")),k){const oe=~F.indexOf("?")?"&":"?",H=i?i(k):new URLSearchParams(jE(k));F+=oe+H}F=$Q(e,F);const W=new Request(F,I);P={request:new Request(F,I)};let me;try{me=await n(W)}catch(oe){return{error:{status:(oe instanceof Error||typeof DOMException<"u"&&oe instanceof DOMException)&&oe.name==="TimeoutError"?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(oe)},meta:P}}const fe=me.clone();P.response=fe;let ve,De="";try{let oe;if(await Promise.all([f(me,L).then(H=>ve=H,H=>oe=H),fe.text().then(H=>De=H,()=>{})]),oe)throw oe}catch(oe){return{error:{status:"PARSING_ERROR",originalStatus:me.status,data:De,error:String(oe)},meta:P}}return N(me,ve)?{data:ve,meta:P}:{error:{status:me.status,data:ve},meta:P}};async function f(g,m){if(typeof m=="function")return m(g);if(m==="content-type"&&(m=o(g.headers)?"json":"text"),m==="json"){const v=await g.text();return v.length?JSON.parse(v):null}return g.text()}}var KE=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Rf="__rtkq/",JQ="online",XQ="offline",qE="focused",YC=ho(`${Rf}${qE}`),QE=ho(`${Rf}un${qE}`),ZC=ho(`${Rf}${JQ}`),YE=ho(`${Rf}${XQ}`),vu="query",ZE="mutation",JE="infinitequery";function xf(e){return e.type===vu}function eY(e){return e.type===ZE}function Ff(e){return e.type===JE}function Pf(e){return xf(e)||Ff(e)}function JC(e,t,n,i,o,r){const s=tY(e)?e(t,n,i,o):e;return s?KC(s,qC,a=>r(XE(a))):[]}function tY(e){return typeof e=="function"}function XE(e){return typeof e=="string"?{type:e}:e}function nY(e,t){return e.catch(t)}var Rl=(e,t)=>e.endpointDefinitions[t],Cu=Symbol("forceQueryFn"),XC=e=>typeof e[Cu]=="function";function iY({serializeQueryArgs:e,queryThunk:t,infiniteQueryThunk:n,mutationThunk:i,api:o,context:r,getInternalState:s}){const a=P=>s(P)?.runningQueries,l=P=>s(P)?.runningMutations,{unsubscribeQueryResult:u,removeMutationResult:h,updateSubscriptionOptions:f}=o.internalActions;return{buildInitiateQuery:y,buildInitiateInfiniteQuery:R,buildInitiateMutation:S,getRunningQueryThunk:g,getRunningMutationThunk:m,getRunningQueriesThunk:v,getRunningMutationsThunk:w};function g(P,F){return A=>{const k=Rl(r,P),L=e({queryArgs:F,endpointDefinition:k,endpointName:P});return a(A)?.get(L)}}function m(P,F){return A=>l(A)?.get(F)}function v(){return P=>UE(a(P))}function w(){return P=>UE(l(P))}function b(P,F){const A=(k,{subscribe:L=!0,forceRefetch:N,subscriptionOptions:M,[Cu]:E,...I}={})=>(B,W)=>{const J=e({queryArgs:k,endpointDefinition:F,endpointName:P});let me;const fe={...I,type:vu,subscribe:L,forceRefetch:N,subscriptionOptions:M,endpointName:P,originalArgs:k,queryCacheKey:J,[Cu]:E};if(xf(F))me=t(fe);else{const{direction:Fe,initialPageParam:Le,refetchCachedPages:$e}=I;me=n({...fe,direction:Fe,initialPageParam:Le,refetchCachedPages:$e})}const ve=o.endpoints[P].select(k),De=B(me),oe=ve(W()),{requestId:H,abort:Q}=De,j=oe.requestId!==H,ce=a(B)?.get(J),Ee=()=>ve(W()),Ie=Object.assign(E?De.then(Ee):j&&!ce?Promise.resolve(oe):Promise.all([ce,De]).then(Ee),{arg:k,requestId:H,subscriptionOptions:M,queryCacheKey:J,abort:Q,async unwrap(){const Fe=await Ie;if(Fe.isError)throw Fe.error;return Fe.data},refetch:Fe=>B(A(k,{subscribe:!1,forceRefetch:!0,...Fe})),unsubscribe(){L&&B(u({queryCacheKey:J,requestId:H}))},updateSubscriptionOptions(Fe){Ie.subscriptionOptions=Fe,B(f({endpointName:P,requestId:H,queryCacheKey:J,options:Fe}))}});if(!ce&&!j&&!E){const Fe=a(B);Fe.set(J,Ie),Ie.then(()=>{Fe.delete(J)})}return Ie};return A}function y(P,F){return b(P,F)}function R(P,F){return b(P,F)}function S(P){return(F,{track:A=!0,fixedCacheKey:k}={})=>(L,N)=>{const M=i({type:"mutation",endpointName:P,originalArgs:F,track:A,fixedCacheKey:k}),E=L(M),{requestId:I,abort:B,unwrap:W}=E,J=nY(E.unwrap().then(De=>({data:De})),De=>({error:De})),me=()=>{L(h({requestId:I,fixedCacheKey:k}))},fe=Object.assign(J,{arg:E.arg,requestId:I,abort:B,unwrap:W,reset:me}),ve=l(L);return ve.set(I,fe),fe.then(()=>{ve.delete(I)}),k&&(ve.set(k,fe),fe.then(()=>{ve.get(k)===fe&&ve.delete(k)})),fe}}}var eD=class extends HQ{constructor(e,t,n,i){super(e),this.value=t,this.schemaName=n,this._bqMeta=i}},ga=(e,t)=>Array.isArray(e)?e.includes(t):!!e;async function pa(e,t,n,i){const o=await e["~standard"].validate(t);if(o.issues)throw new eD(o.issues,t,n,i);return o.value}function tD(e){return e}var wu=(e={})=>({...e,[Cf]:!0});function oY({reducerPath:e,baseQuery:t,context:{endpointDefinitions:n},serializeQueryArgs:i,api:o,assertTagType:r,selectors:s,onSchemaFailure:a,catchSchemaFailure:l,skipSchemaValidation:u}){const h=(E,I,B,W)=>(J,me)=>{const fe=n[E],ve=i({queryArgs:I,endpointDefinition:fe,endpointName:E});if(J(o.internalActions.queryResultPatched({queryCacheKey:ve,patches:B})),!W)return;const De=o.endpoints[E].select(I)(me()),oe=JC(fe.providesTags,De.data,void 0,I,{},r);J(o.internalActions.updateProvidedBy([{queryCacheKey:ve,providedTags:oe}]))};function f(E,I,B=0){const W=[I,...E];return B&&W.length>B?W.slice(0,-1):W}function g(E,I,B=0){const W=[...E,I];return B&&W.length>B?W.slice(1):W}const m=(E,I,B,W=!0)=>(J,me)=>{const ve=o.endpoints[E].select(I)(me()),De={patches:[],inversePatches:[],undo:()=>J(o.util.patchQueryData(E,I,De.inversePatches,W))};if(ve.status===vr)return De;let oe;if("data"in ve)if(yi(ve.data)){const[H,Q,j]=EE(ve.data,B);De.patches.push(...Q),De.inversePatches.push(...j),oe=H}else oe=B(ve.data),De.patches.push({op:"replace",path:[],value:oe}),De.inversePatches.push({op:"replace",path:[],value:ve.data});return De.patches.length===0||J(o.util.patchQueryData(E,I,De.patches,W)),De},v=(E,I,B)=>W=>W(o.endpoints[E].initiate(I,{subscribe:!1,forceRefetch:!0,[Cu]:()=>({data:B})})),w=(E,I)=>E.query&&E[I]?E[I]:tD,b=async(E,{signal:I,abort:B,rejectWithValue:W,fulfillWithValue:J,dispatch:me,getState:fe,extra:ve})=>{const De=n[E.endpointName],{metaSchema:oe,skipSchemaValidation:H=u}=De,Q=E.type===vu;try{let j=tD;const ce={signal:I,abort:B,dispatch:me,getState:fe,extra:ve,endpoint:E.endpointName,type:E.type,forced:Q?y(E,fe()):void 0,queryCacheKey:Q?E.queryCacheKey:void 0},Ee=Q?E[Cu]:void 0;let Ie;const Fe=async($e,Ve,yt,O)=>{if(Ve==null&&$e.pages.length)return Promise.resolve({data:$e});const V={queryArg:E.originalArgs,pageParam:Ve},U=await Le(V),ne=O?f:g;return{data:{pages:ne($e.pages,U.data,yt),pageParams:ne($e.pageParams,Ve,yt)},meta:U.meta}};async function Le($e){let Ve;const{extraOptions:yt,argSchema:O,rawResponseSchema:V,responseSchema:U}=De;if(O&&!ga(H,"arg")&&($e=await pa(O,$e,"argSchema",{})),Ee?Ve=Ee():De.query?(j=w(De,"transformResponse"),Ve=await t(De.query($e),ce,yt)):Ve=await De.queryFn($e,ce,yt,Z=>t(Z,ce,yt)),typeof process<"u",Ve.error)throw new KE(Ve.error,Ve.meta);let{data:ne}=Ve;V&&!ga(H,"rawResponse")&&(ne=await pa(V,Ve.data,"rawResponseSchema",Ve.meta));let te=await j(ne,Ve.meta,$e);return U&&!ga(H,"response")&&(te=await pa(U,te,"responseSchema",Ve.meta)),{...Ve,data:te}}if(Q&&"infiniteQueryOptions"in De){const{infiniteQueryOptions:$e}=De,{maxPages:Ve=1/0}=$e,yt=E.refetchCachedPages??$e.refetchCachedPages??!0;let O;const V={pages:[],pageParams:[]},U=s.selectQueryEntry(fe(),E.queryCacheKey)?.data,te=y(E,fe())&&!E.direction||!U?V:U;if("direction"in E&&E.direction&&te.pages.length){const Z=E.direction==="backward",Ce=(Z?nD:ew)($e,te,E.originalArgs);O=await Fe(te,Ce,Ve,Z)}else{const{initialPageParam:Z=$e.initialPageParam}=E,Se=U?.pageParams??[],Ce=Se[0]??Z,he=Se.length;if(O=await Fe(te,Ce,Ve),Ee&&(O={data:O.data.pages[0]}),yt)for(let ie=1;ie<he;ie++){const ke=ew($e,O.data,E.originalArgs);O=await Fe(O.data,ke,Ve)}}Ie=O}else Ie=await Le(E.originalArgs);return oe&&!ga(H,"meta")&&Ie.meta&&(Ie.meta=await pa(oe,Ie.meta,"metaSchema",Ie.meta)),J(Ie.data,wu({fulfilledTimeStamp:Date.now(),baseQueryMeta:Ie.meta}))}catch(j){let ce=j;if(ce instanceof KE){let Ee=w(De,"transformErrorResponse");const{rawErrorResponseSchema:Ie,errorResponseSchema:Fe}=De;let{value:Le,meta:$e}=ce;try{Ie&&!ga(H,"rawErrorResponse")&&(Le=await pa(Ie,Le,"rawErrorResponseSchema",$e)),oe&&!ga(H,"meta")&&($e=await pa(oe,$e,"metaSchema",$e));let Ve=await Ee(Le,$e,E.originalArgs);return Fe&&!ga(H,"errorResponse")&&(Ve=await pa(Fe,Ve,"errorResponseSchema",$e)),W(Ve,wu({baseQueryMeta:$e}))}catch(Ve){ce=Ve}}try{if(ce instanceof eD){const Ee={endpoint:E.endpointName,arg:E.originalArgs,type:E.type,queryCacheKey:Q?E.queryCacheKey:void 0};De.onSchemaFailure?.(ce,Ee),a?.(ce,Ee);const{catchSchemaFailure:Ie=l}=De;if(Ie)return W(Ie(ce,Ee),wu({baseQueryMeta:ce._bqMeta}))}}catch(Ee){ce=Ee}throw console.error(ce),ce}};function y(E,I){const B=s.selectQueryEntry(I,E.queryCacheKey),W=s.selectConfig(I).refetchOnMountOrArgChange,J=B?.fulfilledTimeStamp,me=E.forceRefetch??(E.subscribe&&W);return me?me===!0||(Number(new Date)-Number(J))/1e3>=me:!1}const R=()=>GE(`${e}/executeQuery`,b,{getPendingMeta({arg:I}){const B=n[I.endpointName];return wu({startedTimeStamp:Date.now(),...Ff(B)?{direction:I.direction}:{}})},condition(I,{getState:B}){const W=B(),J=s.selectQueryEntry(W,I.queryCacheKey),me=J?.fulfilledTimeStamp,fe=I.originalArgs,ve=J?.originalArgs,De=n[I.endpointName],oe=I.direction;return XC(I)?!0:J?.status==="pending"?!1:y(I,W)||xf(De)&&De?.forceRefetch?.({currentArg:fe,previousArg:ve,endpointState:J,state:W})?!0:!(me&&!oe)},dispatchConditionRejection:!0}),S=R(),P=R(),F=GE(`${e}/executeMutation`,b,{getPendingMeta(){return wu({startedTimeStamp:Date.now()})}}),A=E=>"force"in E,k=E=>"ifOlderThan"in E,L=(E,I,B={})=>(W,J)=>{const me=A(B)&&B.force,fe=k(B)&&B.ifOlderThan,ve=(oe=!0)=>{const H={forceRefetch:oe,subscribe:!1};return o.endpoints[E].initiate(I,H)},De=o.endpoints[E].select(I)(J());if(me)W(ve());else if(fe){const oe=De?.fulfilledTimeStamp;if(!oe){W(ve());return}(Number(new Date)-Number(new Date(oe)))/1e3>=fe&&W(ve())}else W(ve(!1))};function N(E){return I=>I?.meta?.arg?.endpointName===E}function M(E,I){return{matchPending:fu(WC(E),N(I)),matchFulfilled:fu(ds(E),N(I)),matchRejected:fu(Sl(E),N(I))}}return{queryThunk:S,mutationThunk:F,infiniteQueryThunk:P,prefetch:L,updateQueryData:m,upsertQueryData:v,patchQueryData:h,buildMatchThunkActions:M}}function ew(e,{pages:t,pageParams:n},i){const o=t.length-1;return e.getNextPageParam(t[o],t,n[o],n,i)}function nD(e,{pages:t,pageParams:n},i){return e.getPreviousPageParam?.(t[0],t,n[0],n,i)}function iD(e,t,n,i){return JC(n[e.meta.arg.endpointName][t],ds(e)?e.payload:void 0,bf(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,i)}function oD(e){return bi(e)?FE(e):e}function Ef(e,t,n){const i=e[t];i&&n(i)}function bu(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function rD(e,t,n){const i=e[bu(t)];i&&n(i)}var Df={};function rY({reducerPath:e,queryThunk:t,mutationThunk:n,serializeQueryArgs:i,context:{endpointDefinitions:o,apiUid:r,extractRehydrationInfo:s,hasRehydrationInfo:a},assertTagType:l,config:u}){const h=ho(`${e}/resetApiState`);function f(N,M,E,I){N[M.queryCacheKey]??={status:vr,endpointName:M.endpointName},Ef(N,M.queryCacheKey,B=>{B.status=jC,B.requestId=E&&B.requestId?B.requestId:I.requestId,M.originalArgs!==void 0&&(B.originalArgs=M.originalArgs),B.startedTimeStamp=I.startedTimeStamp;const W=o[I.arg.endpointName];Ff(W)&&"direction"in M&&(B.direction=M.direction)})}function g(N,M,E,I){Ef(N,M.arg.queryCacheKey,B=>{if(B.requestId!==M.requestId&&!I)return;const{merge:W}=o[M.arg.endpointName];if(B.status=pu,W)if(B.data!==void 0){const{fulfilledTimeStamp:J,arg:me,baseQueryMeta:fe,requestId:ve}=M;let De=du(B.data,oe=>W(oe,E,{arg:me.originalArgs,baseQueryMeta:fe,fulfilledTimeStamp:J,requestId:ve}));B.data=De}else B.data=E;else B.data=o[M.arg.endpointName].structuralSharing??!0?zE(bi(B.data)?Wq(B.data):B.data,E):E;delete B.error,B.fulfilledTimeStamp=M.fulfilledTimeStamp})}const m=fa({name:`${e}/queries`,initialState:Df,reducers:{removeQueryResult:{reducer(N,{payload:{queryCacheKey:M}}){delete N[M]},prepare:hu()},cacheEntriesUpserted:{reducer(N,M){for(const E of M.payload){const{queryDescription:I,value:B}=E;f(N,I,!0,{arg:I,requestId:M.meta.requestId,startedTimeStamp:M.meta.timestamp}),g(N,{arg:I,requestId:M.meta.requestId,fulfilledTimeStamp:M.meta.timestamp,baseQueryMeta:{}},B,!0)}},prepare:N=>({payload:N.map(I=>{const{endpointName:B,arg:W,value:J}=I,me=o[B];return{queryDescription:{type:vu,endpointName:B,originalArgs:I.arg,queryCacheKey:i({queryArgs:W,endpointDefinition:me,endpointName:B})},value:J}}),meta:{[Cf]:!0,requestId:UC(),timestamp:Date.now()}})},queryResultPatched:{reducer(N,{payload:{queryCacheKey:M,patches:E}}){Ef(N,M,I=>{I.data=DE(I.data,E.concat())})},prepare:hu()}},extraReducers(N){N.addCase(t.pending,(M,{meta:E,meta:{arg:I}})=>{const B=XC(I);f(M,I,B,E)}).addCase(t.fulfilled,(M,{meta:E,payload:I})=>{const B=XC(E.arg);g(M,E,I,B)}).addCase(t.rejected,(M,{meta:{condition:E,arg:I,requestId:B},error:W,payload:J})=>{Ef(M,I.queryCacheKey,me=>{if(!E){if(me.requestId!==B)return;me.status=mu,me.error=J??W}})}).addMatcher(a,(M,E)=>{const{queries:I}=s(E);for(const[B,W]of Object.entries(I))(W?.status===pu||W?.status===mu)&&(M[B]=W)})}}),v=fa({name:`${e}/mutations`,initialState:Df,reducers:{removeMutationResult:{reducer(N,{payload:M}){const E=bu(M);E in N&&delete N[E]},prepare:hu()}},extraReducers(N){N.addCase(n.pending,(M,{meta:E,meta:{requestId:I,arg:B,startedTimeStamp:W}})=>{B.track&&(M[bu(E)]={requestId:I,status:jC,endpointName:B.endpointName,startedTimeStamp:W})}).addCase(n.fulfilled,(M,{payload:E,meta:I})=>{I.arg.track&&rD(M,I,B=>{B.requestId===I.requestId&&(B.status=pu,B.data=E,B.fulfilledTimeStamp=I.fulfilledTimeStamp)})}).addCase(n.rejected,(M,{payload:E,error:I,meta:B})=>{B.arg.track&&rD(M,B,W=>{W.requestId===B.requestId&&(W.status=mu,W.error=E??I)})}).addMatcher(a,(M,E)=>{const{mutations:I}=s(E);for(const[B,W]of Object.entries(I))(W?.status===pu||W?.status===mu)&&B!==W?.requestId&&(M[B]=W)})}}),w={tags:{},keys:{}},b=fa({name:`${e}/invalidation`,initialState:w,reducers:{updateProvidedBy:{reducer(N,M){for(const{queryCacheKey:E,providedTags:I}of M.payload){y(N,E);for(const{type:B,id:W}of I){const J=(N.tags[B]??={})[W||"__internal_without_id"]??=[];J.includes(E)||J.push(E)}N.keys[E]=I}},prepare:hu()}},extraReducers(N){N.addCase(m.actions.removeQueryResult,(M,{payload:{queryCacheKey:E}})=>{y(M,E)}).addMatcher(a,(M,E)=>{const{provided:I}=s(E);for(const[B,W]of Object.entries(I.tags??{}))for(const[J,me]of Object.entries(W)){const fe=(M.tags[B]??={})[J||"__internal_without_id"]??=[];for(const ve of me)fe.includes(ve)||fe.push(ve),M.keys[ve]=I.keys[ve]}}).addMatcher(mr(ds(t),bf(t)),(M,E)=>{R(M,[E])}).addMatcher(m.actions.cacheEntriesUpserted.match,(M,E)=>{const I=E.payload.map(({queryDescription:B,value:W})=>({type:"UNKNOWN",payload:W,meta:{requestStatus:"fulfilled",requestId:"UNKNOWN",arg:B}}));R(M,I)})}});function y(N,M){const E=oD(N.keys[M]??[]);for(const I of E){const B=I.type,W=I.id??"__internal_without_id",J=N.tags[B]?.[W];J&&(N.tags[B][W]=oD(J).filter(me=>me!==M))}delete N.keys[M]}function R(N,M){const E=M.map(I=>{const B=iD(I,"providesTags",o,l),{queryCacheKey:W}=I.meta.arg;return{queryCacheKey:W,providedTags:B}});b.caseReducers.updateProvidedBy(N,b.actions.updateProvidedBy(E))}const S=fa({name:`${e}/subscriptions`,initialState:Df,reducers:{updateSubscriptionOptions(N,M){},unsubscribeQueryResult(N,M){},internal_getRTKQSubscriptions(){}}}),P=fa({name:`${e}/internalSubscriptions`,initialState:Df,reducers:{subscriptionsUpdated:{reducer(N,M){return DE(N,M.payload)},prepare:hu()}}}),F=fa({name:`${e}/config`,initialState:{online:WQ(),focused:VQ(),middlewareRegistered:!1,...u},reducers:{middlewareRegistered(N,{payload:M}){N.middlewareRegistered=N.middlewareRegistered==="conflict"||r!==M?"conflict":!0}},extraReducers:N=>{N.addCase(ZC,M=>{M.online=!0}).addCase(YE,M=>{M.online=!1}).addCase(YC,M=>{M.focused=!0}).addCase(QE,M=>{M.focused=!1}).addMatcher(a,M=>({...M}))}}),A=uE({queries:m.reducer,mutations:v.reducer,provided:b.reducer,subscriptions:P.reducer,config:F.reducer}),k=(N,M)=>A(h.match(M)?void 0:N,M),L={...F.actions,...m.actions,...S.actions,...P.actions,...v.actions,...b.actions,resetApiState:h};return{reducer:k,actions:L}}var tw=Symbol.for("RTKQ/skipToken"),sD={status:vr},aD=du(sD,()=>{}),lD=du(sD,()=>{});function sY({serializeQueryArgs:e,reducerPath:t,createSelector:n}){const i=S=>aD,o=S=>lD;return{buildQuerySelector:g,buildInfiniteQuerySelector:m,buildMutationSelector:v,selectInvalidatedBy:w,selectCachedArgsForQuery:b,selectApiState:s,selectQueries:a,selectMutations:u,selectQueryEntry:l,selectConfig:h};function r(S){return{...S,...VE(S.status)}}function s(S){return S[t]}function a(S){return s(S)?.queries}function l(S,P){return a(S)?.[P]}function u(S){return s(S)?.mutations}function h(S){return s(S)?.config}function f(S,P,F){return A=>{if(A===tw)return n(i,F);const k=e({queryArgs:A,endpointDefinition:P,endpointName:S});return n(N=>l(N,k)??aD,F)}}function g(S,P){return f(S,P,r)}function m(S,P){const{infiniteQueryOptions:F}=P;function A(k){const L={...k,...VE(k.status)},{isLoading:N,isError:M,direction:E}=L,I=E==="forward",B=E==="backward";return{...L,hasNextPage:y(F,L.data,L.originalArgs),hasPreviousPage:R(F,L.data,L.originalArgs),isFetchingNextPage:N&&I,isFetchingPreviousPage:N&&B,isFetchNextPageError:M&&I,isFetchPreviousPageError:M&&B}}return f(S,P,A)}function v(){return S=>{let P;return typeof S=="object"?P=bu(S)??tw:P=S,n(P===tw?o:k=>s(k)?.mutations?.[P]??lD,r)}}function w(S,P){const F=S[t],A=new Set,k=KC(P,qC,XE);for(const L of k){const N=F.provided.tags[L.type];if(!N)continue;let M=(L.id!==void 0?N[L.id]:Object.values(N).flat())??[];for(const E of M)A.add(E)}return Array.from(A.values()).flatMap(L=>{const N=F.queries[L];return N?{queryCacheKey:L,endpointName:N.endpointName,originalArgs:N.originalArgs}:[]})}function b(S,P){return KC(Object.values(a(S)),F=>F?.endpointName===P&&F.status!==vr,F=>F.originalArgs)}function y(S,P,F){return P?ew(S,P,F)!=null:!1}function R(S,P,F){return!P||!S.getPreviousPageParam?!1:nD(S,P,F)!=null}}var cD=WeakMap?new WeakMap:void 0,uD=({endpointName:e,queryArgs:t})=>{let n="";const i=cD?.get(t);if(typeof i=="string")n=i;else{const o=JSON.stringify(t,(r,s)=>(s=typeof s=="bigint"?{$bigint:s.toString()}:s,s=us(s)?Object.keys(s).sort().reduce((a,l)=>(a[l]=s[l],a),{}):s,s));us(t)&&cD?.set(t,o),n=o}return`${e}(${n})`};function aY(...e){return function(n){const i=mf(u=>n.extractRehydrationInfo?.(u,{reducerPath:n.reducerPath??"api"})),o={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...n,extractRehydrationInfo:i,serializeQueryArgs(u){let h=uD;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;h=g=>{const m=f(g);return typeof m=="string"?m:uD({...g,queryArgs:m})}}else n.serializeQueryArgs&&(h=n.serializeQueryArgs);return h(u)},tagTypes:[...n.tagTypes||[]]},r={endpointDefinitions:{},batch(u){u()},apiUid:UC(),extractRehydrationInfo:i,hasRehydrationInfo:mf(u=>i(u)!=null)},s={injectEndpoints:l,enhanceEndpoints({addTagTypes:u,endpoints:h}){if(u)for(const f of u)o.tagTypes.includes(f)||o.tagTypes.push(f);if(h)for(const[f,g]of Object.entries(h))typeof g=="function"?g(Rl(r,f)):Object.assign(Rl(r,f)||{},g);return s}},a=e.map(u=>u.init(s,o,r));function l(u){const h=u.endpoints({query:f=>({...f,type:vu}),mutation:f=>({...f,type:ZE}),infiniteQuery:f=>({...f,type:JE})});for(const[f,g]of Object.entries(h)){if(u.overrideExisting!==!0&&f in r.endpointDefinitions){if(u.overrideExisting==="throw")throw new Error(Ho(39));continue}r.endpointDefinitions[f]=g;for(const m of a)m.injectEndpoint(f,g)}return s}return s.injectEndpoints({endpoints:n.endpoints})}}function Cr(e,...t){return Object.assign(e,...t)}var lY=({api:e,queryThunk:t,internalState:n,mwApi:i})=>{const o=`${e.reducerPath}/subscriptions`;let r=null,s=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:l}=e.internalActions,u=(w,b)=>{if(a.match(b)){const{queryCacheKey:R,requestId:S,options:P}=b.payload,F=w.get(R);return F?.has(S)&&F.set(S,P),!0}if(l.match(b)){const{queryCacheKey:R,requestId:S}=b.payload,P=w.get(R);return P&&P.delete(S),!0}if(e.internalActions.removeQueryResult.match(b))return w.delete(b.payload.queryCacheKey),!0;if(t.pending.match(b)){const{meta:{arg:R,requestId:S}}=b,P=Sf(w,R.queryCacheKey,QC);return R.subscribe&&P.set(S,R.subscriptionOptions??P.get(S)??{}),!0}let y=!1;if(t.rejected.match(b)){const{meta:{condition:R,arg:S,requestId:P}}=b;if(R&&S.subscribe){const F=Sf(w,S.queryCacheKey,QC);F.set(P,S.subscriptionOptions??F.get(P)??{}),y=!0}}return y},h=()=>n.currentSubscriptions,m={getSubscriptions:h,getSubscriptionCount:w=>h().get(w)?.size??0,isRequestSubscribed:(w,b)=>!!h()?.get(w)?.get(b)};function v(w){return JSON.parse(JSON.stringify(Object.fromEntries([...w].map(([b,y])=>[b,Object.fromEntries(y)]))))}return(w,b)=>{if(r||(r=v(n.currentSubscriptions)),e.util.resetApiState.match(w))return r={},n.currentSubscriptions.clear(),s=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(w))return[!1,m];const y=u(n.currentSubscriptions,w);let R=!0;if(y){s||(s=setTimeout(()=>{const F=v(n.currentSubscriptions),[,A]=EE(r,()=>F);b.next(e.internalActions.subscriptionsUpdated(A)),r=F,s=null},500));const S=typeof w.type=="string"&&!!w.type.startsWith(o),P=t.rejected.match(w)&&w.meta.condition&&!!w.meta.arg.subscribe;R=!S&&!P}return[R,!1]}},cY=2147483647/1e3-1,uY=({reducerPath:e,api:t,queryThunk:n,context:i,internalState:o,selectors:{selectQueryEntry:r,selectConfig:s},getRunningQueryThunk:a,mwApi:l})=>{const{removeQueryResult:u,unsubscribeQueryResult:h,cacheEntriesUpserted:f}=t.internalActions,g=mr(h.match,n.fulfilled,n.rejected,f.match);function m(S){const P=o.currentSubscriptions.get(S);return P?P.size>0:!1}const v={};function w(S){for(const P of S.values())P?.abort?.()}const b=(S,P)=>{const F=P.getState(),A=s(F);if(g(S)){let k;if(f.match(S))k=S.payload.map(L=>L.queryDescription.queryCacheKey);else{const{queryCacheKey:L}=h.match(S)?S.payload:S.meta.arg;k=[L]}y(k,P,A)}if(t.util.resetApiState.match(S)){for(const[k,L]of Object.entries(v))L&&clearTimeout(L),delete v[k];w(o.runningQueries),w(o.runningMutations)}if(i.hasRehydrationInfo(S)){const{queries:k}=i.extractRehydrationInfo(S);y(Object.keys(k),P,A)}};function y(S,P,F){const A=P.getState();for(const k of S){const L=r(A,k);L?.endpointName&&R(k,L.endpointName,P,F)}}function R(S,P,F,A){const L=Rl(i,P)?.keepUnusedDataFor??A.keepUnusedDataFor;if(L===1/0)return;const N=Math.max(0,Math.min(L,cY));if(!m(S)){const M=v[S];M&&clearTimeout(M),v[S]=setTimeout(()=>{if(!m(S)){const E=r(F.getState(),S);E?.endpointName&&F.dispatch(a(E.endpointName,E.originalArgs))?.abort(),F.dispatch(u({queryCacheKey:S}))}delete v[S]},N*1e3)}}return b},dD=new Error("Promise never resolved before cacheEntryRemoved."),dY=({api:e,reducerPath:t,context:n,queryThunk:i,mutationThunk:o,internalState:r,selectors:{selectQueryEntry:s,selectApiState:a}})=>{const l=zC(i),u=zC(o),h=ds(i,o),f={},{removeQueryResult:g,removeMutationResult:m,cacheEntriesUpserted:v}=e.internalActions;function w(F,A,k){const L=f[F];L?.valueResolved&&(L.valueResolved({data:A,meta:k}),delete L.valueResolved)}function b(F){const A=f[F];A&&(delete f[F],A.cacheEntryRemoved())}function y(F){const{arg:A,requestId:k}=F.meta,{endpointName:L,originalArgs:N}=A;return[L,N,k]}const R=(F,A,k)=>{const L=S(F);function N(M,E,I,B){const W=s(k,E),J=s(A.getState(),E);!W&&J&&P(M,B,E,A,I)}if(i.pending.match(F)){const[M,E,I]=y(F);N(M,L,I,E)}else if(v.match(F))for(const{queryDescription:M,value:E}of F.payload){const{endpointName:I,originalArgs:B,queryCacheKey:W}=M;N(I,W,F.meta.requestId,B),w(W,E,{})}else if(o.pending.match(F)){if(A.getState()[t].mutations[L]){const[E,I,B]=y(F);P(E,I,L,A,B)}}else if(h(F))w(L,F.payload,F.meta.baseQueryMeta);else if(g.match(F)||m.match(F))b(L);else if(e.util.resetApiState.match(F))for(const M of Object.keys(f))b(M)};function S(F){return l(F)?F.meta.arg.queryCacheKey:u(F)?F.meta.arg.fixedCacheKey??F.meta.requestId:g.match(F)?F.payload.queryCacheKey:m.match(F)?bu(F.payload):""}function P(F,A,k,L,N){const M=Rl(n,F),E=M?.onCacheEntryAdded;if(!E)return;const I={},B=new Promise(De=>{I.cacheEntryRemoved=De}),W=Promise.race([new Promise(De=>{I.valueResolved=De}),B.then(()=>{throw dD})]);W.catch(()=>{}),f[k]=I;const J=e.endpoints[F].select(Pf(M)?A:k),me=L.dispatch((De,oe,H)=>H),fe={...L,getCacheEntry:()=>J(L.getState()),requestId:N,extra:me,updateCachedData:Pf(M)?De=>L.dispatch(e.util.updateQueryData(F,A,De)):void 0,cacheDataLoaded:W,cacheEntryRemoved:B},ve=E(A,fe);Promise.resolve(ve).catch(De=>{if(De!==dD)throw De})}return R},hY=({api:e,context:{apiUid:t},reducerPath:n})=>(i,o)=>{e.util.resetApiState.match(i)&&o.dispatch(e.internalActions.middlewareRegistered(t))},fY=({reducerPath:e,context:t,context:{endpointDefinitions:n},mutationThunk:i,queryThunk:o,api:r,assertTagType:s,refetchQuery:a,internalState:l})=>{const{removeQueryResult:u}=r.internalActions,h=mr(ds(i),bf(i)),f=mr(ds(o,i),Sl(o,i));let g=[],m=0;const v=(y,R)=>{(o.pending.match(y)||i.pending.match(y))&&m++,f(y)&&(m=Math.max(0,m-1)),h(y)?b(iD(y,"invalidatesTags",n,s),R):f(y)?b([],R):r.util.invalidateTags.match(y)&&b(JC(y.payload,void 0,void 0,void 0,void 0,s),R)};function w(){return m>0}function b(y,R){const S=R.getState(),P=S[e];if(g.push(...y),P.config.invalidationBehavior==="delayed"&&w())return;const F=g;if(g=[],F.length===0)return;const A=r.util.selectInvalidatedBy(S,F);t.batch(()=>{const k=Array.from(A.values());for(const{queryCacheKey:L}of k){const N=P.queries[L],M=Sf(l.currentSubscriptions,L,QC);N&&(M.size===0?R.dispatch(u({queryCacheKey:L})):N.status!==vr&&R.dispatch(a(N)))}})}return v},gY=({reducerPath:e,queryThunk:t,api:n,refetchQuery:i,internalState:o})=>{const{currentPolls:r,currentSubscriptions:s}=o,a=new Set;let l=null;const u=(b,y)=>{(n.internalActions.updateSubscriptionOptions.match(b)||n.internalActions.unsubscribeQueryResult.match(b))&&h(b.payload.queryCacheKey,y),(t.pending.match(b)||t.rejected.match(b)&&b.meta.condition)&&h(b.meta.arg.queryCacheKey,y),(t.fulfilled.match(b)||t.rejected.match(b)&&!b.meta.condition)&&f(b.meta.arg,y),n.util.resetApiState.match(b)&&(v(),l&&(clearTimeout(l),l=null),a.clear())};function h(b,y){a.add(b),l||(l=setTimeout(()=>{for(const R of a)g({queryCacheKey:R},y);a.clear(),l=null},0))}function f({queryCacheKey:b},y){const R=y.getState()[e],S=R.queries[b],P=s.get(b);if(!S||S.status===vr)return;const{lowestPollingInterval:F,skipPollingIfUnfocused:A}=w(P);if(!Number.isFinite(F))return;const k=r.get(b);k?.timeout&&(clearTimeout(k.timeout),k.timeout=void 0);const L=Date.now()+F;r.set(b,{nextPollTimestamp:L,pollingInterval:F,timeout:setTimeout(()=>{(R.config.focused||!A)&&y.dispatch(i(S)),f({queryCacheKey:b},y)},F)})}function g({queryCacheKey:b},y){const S=y.getState()[e].queries[b],P=s.get(b);if(!S||S.status===vr)return;const{lowestPollingInterval:F}=w(P);if(!Number.isFinite(F)){m(b);return}const A=r.get(b),k=Date.now()+F;(!A||k<A.nextPollTimestamp)&&f({queryCacheKey:b},y)}function m(b){const y=r.get(b);y?.timeout&&clearTimeout(y.timeout),r.delete(b)}function v(){for(const b of r.keys())m(b)}function w(b=new Map){let y=!1,R=Number.POSITIVE_INFINITY;for(const S of b.values())S.pollingInterval&&(R=Math.min(S.pollingInterval,R),y=S.skipPollingIfUnfocused||y);return{lowestPollingInterval:R,skipPollingIfUnfocused:y}}return u},pY=({api:e,context:t,queryThunk:n,mutationThunk:i})=>{const o=WC(n,i),r=Sl(n,i),s=ds(n,i),a={};return(u,h)=>{if(o(u)){const{requestId:f,arg:{endpointName:g,originalArgs:m}}=u.meta,v=Rl(t,g),w=v?.onQueryStarted;if(w){const b={},y=new Promise((F,A)=>{b.resolve=F,b.reject=A});y.catch(()=>{}),a[f]=b;const R=e.endpoints[g].select(Pf(v)?m:f),S=h.dispatch((F,A,k)=>k),P={...h,getCacheEntry:()=>R(h.getState()),requestId:f,extra:S,updateCachedData:Pf(v)?F=>h.dispatch(e.util.updateQueryData(g,m,F)):void 0,queryFulfilled:y};w(m,P)}}else if(s(u)){const{requestId:f,baseQueryMeta:g}=u.meta;a[f]?.resolve({data:u.payload,meta:g}),delete a[f]}else if(r(u)){const{requestId:f,rejectedWithValue:g,baseQueryMeta:m}=u.meta;a[f]?.reject({error:u.payload??u.error,isUnhandledError:!g,meta:m}),delete a[f]}}},mY=({reducerPath:e,context:t,api:n,refetchQuery:i,internalState:o})=>{const{removeQueryResult:r}=n.internalActions,s=(l,u)=>{YC.match(l)&&a(u,"refetchOnFocus"),ZC.match(l)&&a(u,"refetchOnReconnect")};function a(l,u){const h=l.getState()[e],f=h.queries,g=o.currentSubscriptions;t.batch(()=>{for(const m of g.keys()){const v=f[m],w=g.get(m);if(!w||!v)continue;const b=[...w.values()];(b.some(R=>R[u]===!0)||b.every(R=>R[u]===void 0)&&h.config[u])&&(w.size===0?l.dispatch(r({queryCacheKey:m})):v.status!==vr&&l.dispatch(i(v)))}})}return s};function vY(e){const{reducerPath:t,queryThunk:n,api:i,context:o,getInternalState:r}=e,{apiUid:s}=o,a={invalidateTags:ho(`${t}/invalidateTags`)},l=g=>g.type.startsWith(`${t}/`),u=[hY,uY,fY,gY,dY,pY];return{middleware:g=>{let m=!1;const v=r(g.dispatch),w={...e,internalState:v,refetchQuery:f,isThisApiSliceAction:l,mwApi:g},b=u.map(S=>S(w)),y=lY(w),R=mY(w);return S=>P=>{if(!dE(P))return S(P);m||(m=!0,g.dispatch(i.internalActions.middlewareRegistered(s)));const F={...g,next:S},A=g.getState(),[k,L]=y(P,F,A);let N;if(k?N=S(P):N=L,g.getState()[t]&&(R(P,F,A),l(P)||o.hasRehydrationInfo(P)))for(const M of b)M(P,F,A);return N}},actions:a};function f(g){return e.api.endpoints[g.endpointName].initiate(g.originalArgs,{subscribe:!1,forceRefetch:!0})}}var hD=Symbol(),CY=({createSelector:e=IE}={})=>({name:hD,init(t,{baseQuery:n,tagTypes:i,reducerPath:o,serializeQueryArgs:r,keepUnusedDataFor:s,refetchOnMountOrArgChange:a,refetchOnFocus:l,refetchOnReconnect:u,invalidationBehavior:h,onSchemaFailure:f,catchSchemaFailure:g,skipSchemaValidation:m},v){iQ();const w=Fe=>Fe;Object.assign(t,{reducerPath:o,endpoints:{},internalActions:{onOnline:ZC,onOffline:YE,onFocus:YC,onFocusLost:QE},util:{}});const b=sY({serializeQueryArgs:r,reducerPath:o,createSelector:e}),{selectInvalidatedBy:y,selectCachedArgsForQuery:R,buildQuerySelector:S,buildInfiniteQuerySelector:P,buildMutationSelector:F}=b;Cr(t.util,{selectInvalidatedBy:y,selectCachedArgsForQuery:R});const{queryThunk:A,infiniteQueryThunk:k,mutationThunk:L,patchQueryData:N,updateQueryData:M,upsertQueryData:E,prefetch:I,buildMatchThunkActions:B}=oY({baseQuery:n,reducerPath:o,context:v,api:t,serializeQueryArgs:r,assertTagType:w,selectors:b,onSchemaFailure:f,catchSchemaFailure:g,skipSchemaValidation:m}),{reducer:W,actions:J}=rY({context:v,queryThunk:A,mutationThunk:L,serializeQueryArgs:r,reducerPath:o,assertTagType:w,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:a,keepUnusedDataFor:s,reducerPath:o,invalidationBehavior:h}});Cr(t.util,{patchQueryData:N,updateQueryData:M,upsertQueryData:E,prefetch:I,resetApiState:J.resetApiState,upsertQueryEntries:J.cacheEntriesUpserted}),Cr(t.internalActions,J);const me=new WeakMap,fe=Fe=>Sf(me,Fe,()=>({currentSubscriptions:new Map,currentPolls:new Map,runningQueries:new Map,runningMutations:new Map})),{buildInitiateQuery:ve,buildInitiateInfiniteQuery:De,buildInitiateMutation:oe,getRunningMutationThunk:H,getRunningMutationsThunk:Q,getRunningQueriesThunk:j,getRunningQueryThunk:ce}=iY({queryThunk:A,mutationThunk:L,infiniteQueryThunk:k,api:t,serializeQueryArgs:r,context:v,getInternalState:fe});Cr(t.util,{getRunningMutationThunk:H,getRunningMutationsThunk:Q,getRunningQueryThunk:ce,getRunningQueriesThunk:j});const{middleware:Ee,actions:Ie}=vY({reducerPath:o,context:v,queryThunk:A,mutationThunk:L,infiniteQueryThunk:k,api:t,assertTagType:w,selectors:b,getRunningQueryThunk:ce,getInternalState:fe});return Cr(t.util,Ie),Cr(t,{reducer:W,middleware:Ee}),{name:hD,injectEndpoint(Fe,Le){const $e=t,Ve=$e.endpoints[Fe]??={};xf(Le)&&Cr(Ve,{name:Fe,select:S(Fe,Le),initiate:ve(Fe,Le)},B(A,Fe)),eY(Le)&&Cr(Ve,{name:Fe,select:F(),initiate:oe(Fe)},B(L,Fe)),Ff(Le)&&Cr(Ve,{name:Fe,select:P(Fe,Le),initiate:De(Fe,Le)},B(A,Fe))}}}}),wY=aY(CY());const Vi=wY({baseQuery:ZQ({baseUrl:"https://contributor-service.complysci.com:443/pcv/api"}),endpoints:()=>({})});var Wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yu={exports:{}},bY=yu.exports,fD;function yY(){return fD||(fD=1,(function(e,t){(function(n,i){i(t)})(bY,function(n){function i(H,Q){H.super_=Q,H.prototype=Object.create(Q.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}})}function o(H,Q){Object.defineProperty(this,"kind",{value:H,enumerable:!0}),Q&&Q.length&&Object.defineProperty(this,"path",{value:Q,enumerable:!0})}function r(H,Q,j){r.super_.call(this,"E",H),Object.defineProperty(this,"lhs",{value:Q,enumerable:!0}),Object.defineProperty(this,"rhs",{value:j,enumerable:!0})}function s(H,Q){s.super_.call(this,"N",H),Object.defineProperty(this,"rhs",{value:Q,enumerable:!0})}function a(H,Q){a.super_.call(this,"D",H),Object.defineProperty(this,"lhs",{value:Q,enumerable:!0})}function l(H,Q,j){l.super_.call(this,"A",H),Object.defineProperty(this,"index",{value:Q,enumerable:!0}),Object.defineProperty(this,"item",{value:j,enumerable:!0})}function u(H,Q,j){var ce=H.slice(Q+1||H.length);return H.length=Q<0?H.length+Q:Q,H.push.apply(H,ce),H}function h(H){var Q=typeof H>"u"?"undefined":J(H);return Q!=="object"?Q:H===Math?"math":H===null?"null":Array.isArray(H)?"array":Object.prototype.toString.call(H)==="[object Date]"?"date":typeof H.toString=="function"&&/^\/.*\//.test(H.toString())?"regexp":"object"}function f(H,Q,j,ce,Ee,Ie,Fe){Ee=Ee||[],Fe=Fe||[];var Le=Ee.slice(0);if(typeof Ie<"u"){if(ce){if(typeof ce=="function"&&ce(Le,Ie))return;if((typeof ce>"u"?"undefined":J(ce))==="object"){if(ce.prefilter&&ce.prefilter(Le,Ie))return;if(ce.normalize){var $e=ce.normalize(Le,Ie,H,Q);$e&&(H=$e[0],Q=$e[1])}}}Le.push(Ie)}h(H)==="regexp"&&h(Q)==="regexp"&&(H=H.toString(),Q=Q.toString());var Ve=typeof H>"u"?"undefined":J(H),yt=typeof Q>"u"?"undefined":J(Q),O=Ve!=="undefined"||Fe&&Fe[Fe.length-1].lhs&&Fe[Fe.length-1].lhs.hasOwnProperty(Ie),V=yt!=="undefined"||Fe&&Fe[Fe.length-1].rhs&&Fe[Fe.length-1].rhs.hasOwnProperty(Ie);if(!O&&V)j(new s(Le,Q));else if(!V&&O)j(new a(Le,H));else if(h(H)!==h(Q))j(new r(Le,H,Q));else if(h(H)==="date"&&H-Q!==0)j(new r(Le,H,Q));else if(Ve==="object"&&H!==null&&Q!==null)if(Fe.filter(function(Z){return Z.lhs===H}).length)H!==Q&&j(new r(Le,H,Q));else{if(Fe.push({lhs:H,rhs:Q}),Array.isArray(H)){var U;for(H.length,U=0;U<H.length;U++)U>=Q.length?j(new l(Le,U,new a(void 0,H[U]))):f(H[U],Q[U],j,ce,Le,U,Fe);for(;U<Q.length;)j(new l(Le,U,new s(void 0,Q[U++])))}else{var ne=Object.keys(H),te=Object.keys(Q);ne.forEach(function(Z,Se){var Ce=te.indexOf(Z);Ce>=0?(f(H[Z],Q[Z],j,ce,Le,Z,Fe),te=u(te,Ce)):f(H[Z],void 0,j,ce,Le,Z,Fe)}),te.forEach(function(Z){f(void 0,Q[Z],j,ce,Le,Z,Fe)})}Fe.length=Fe.length-1}else H!==Q&&(Ve==="number"&&isNaN(H)&&isNaN(Q)||j(new r(Le,H,Q)))}function g(H,Q,j,ce){return ce=ce||[],f(H,Q,function(Ee){Ee&&ce.push(Ee)},j),ce.length?ce:void 0}function m(H,Q,j){if(j.path&&j.path.length){var ce,Ee=H[Q],Ie=j.path.length-1;for(ce=0;ce<Ie;ce++)Ee=Ee[j.path[ce]];switch(j.kind){case"A":m(Ee[j.path[ce]],j.index,j.item);break;case"D":delete Ee[j.path[ce]];break;case"E":case"N":Ee[j.path[ce]]=j.rhs}}else switch(j.kind){case"A":m(H[Q],j.index,j.item);break;case"D":H=u(H,Q);break;case"E":case"N":H[Q]=j.rhs}return H}function v(H,Q,j){if(H&&Q&&j&&j.kind){for(var ce=H,Ee=-1,Ie=j.path?j.path.length-1:0;++Ee<Ie;)typeof ce[j.path[Ee]]>"u"&&(ce[j.path[Ee]]=typeof j.path[Ee]=="number"?[]:{}),ce=ce[j.path[Ee]];switch(j.kind){case"A":m(j.path?ce[j.path[Ee]]:ce,j.index,j.item);break;case"D":delete ce[j.path[Ee]];break;case"E":case"N":ce[j.path[Ee]]=j.rhs}}}function w(H,Q,j){if(j.path&&j.path.length){var ce,Ee=H[Q],Ie=j.path.length-1;for(ce=0;ce<Ie;ce++)Ee=Ee[j.path[ce]];switch(j.kind){case"A":w(Ee[j.path[ce]],j.index,j.item);break;case"D":Ee[j.path[ce]]=j.lhs;break;case"E":Ee[j.path[ce]]=j.lhs;break;case"N":delete Ee[j.path[ce]]}}else switch(j.kind){case"A":w(H[Q],j.index,j.item);break;case"D":H[Q]=j.lhs;break;case"E":H[Q]=j.lhs;break;case"N":H=u(H,Q)}return H}function b(H,Q,j){if(H&&Q&&j&&j.kind){var ce,Ee,Ie=H;for(Ee=j.path.length-1,ce=0;ce<Ee;ce++)typeof Ie[j.path[ce]]>"u"&&(Ie[j.path[ce]]={}),Ie=Ie[j.path[ce]];switch(j.kind){case"A":w(Ie[j.path[ce]],j.index,j.item);break;case"D":Ie[j.path[ce]]=j.lhs;break;case"E":Ie[j.path[ce]]=j.lhs;break;case"N":delete Ie[j.path[ce]]}}}function y(H,Q,j){if(H&&Q){var ce=function(Ee){j&&!j(H,Q,Ee)||v(H,Q,Ee)};f(H,Q,ce)}}function R(H){return"color: "+ve[H].color+"; font-weight: bold"}function S(H){var Q=H.kind,j=H.path,ce=H.lhs,Ee=H.rhs,Ie=H.index,Fe=H.item;switch(Q){case"E":return[j.join("."),ce,"→",Ee];case"N":return[j.join("."),Ee];case"D":return[j.join(".")];case"A":return[j.join(".")+"["+Ie+"]",Fe];default:return[]}}function P(H,Q,j,ce){var Ee=g(H,Q);try{ce?j.groupCollapsed("diff"):j.group("diff")}catch{j.log("diff")}Ee?Ee.forEach(function(Ie){var Fe=Ie.kind,Le=S(Ie);j.log.apply(j,["%c "+ve[Fe].text,R(Fe)].concat(me(Le)))}):j.log("—— no diff ——");try{j.groupEnd()}catch{j.log("—— diff end —— ")}}function F(H,Q,j,ce){switch(typeof H>"u"?"undefined":J(H)){case"object":return typeof H[ce]=="function"?H[ce].apply(H,me(j)):H[ce];case"function":return H(Q);default:return H}}function A(H){var Q=H.timestamp,j=H.duration;return function(ce,Ee,Ie){var Fe=["action"];return Fe.push("%c"+String(ce.type)),Q&&Fe.push("%c@ "+Ee),j&&Fe.push("%c(in "+Ie.toFixed(2)+" ms)"),Fe.join(" ")}}function k(H,Q){var j=Q.logger,ce=Q.actionTransformer,Ee=Q.titleFormatter,Ie=Ee===void 0?A(Q):Ee,Fe=Q.collapsed,Le=Q.colors,$e=Q.level,Ve=Q.diff,yt=typeof Q.titleFormatter>"u";H.forEach(function(O,V){var U=O.started,ne=O.startedTime,te=O.action,Z=O.prevState,Se=O.error,Ce=O.took,he=O.nextState,ie=H[V+1];ie&&(he=ie.prevState,Ce=ie.started-U);var ke=ce(te),Te=typeof Fe=="function"?Fe(function(){return he},te,O):Fe,He=B(ne),ze=Le.title?"color: "+Le.title(ke)+";":"",Xe=["color: gray; font-weight: lighter;"];Xe.push(ze),Q.timestamp&&Xe.push("color: gray; font-weight: lighter;"),Q.duration&&Xe.push("color: gray; font-weight: lighter;");var rt=Ie(ke,He,Ce);try{Te?Le.title&&yt?j.groupCollapsed.apply(j,["%c "+rt].concat(Xe)):j.groupCollapsed(rt):Le.title&&yt?j.group.apply(j,["%c "+rt].concat(Xe)):j.group(rt)}catch{j.log(rt)}var it=F($e,ke,[Z],"prevState"),Ut=F($e,ke,[ke],"action"),$t=F($e,ke,[Se,Z],"error"),Yt=F($e,ke,[he],"nextState");if(it)if(Le.prevState){var wn="color: "+Le.prevState(Z)+"; font-weight: bold";j[it]("%c prev state",wn,Z)}else j[it]("prev state",Z);if(Ut)if(Le.action){var Si="color: "+Le.action(ke)+"; font-weight: bold";j[Ut]("%c action ",Si,ke)}else j[Ut]("action ",ke);if(Se&&$t)if(Le.error){var Go="color: "+Le.error(Se,Z)+"; font-weight: bold;";j[$t]("%c error ",Go,Se)}else j[$t]("error ",Se);if(Yt)if(Le.nextState){var nn="color: "+Le.nextState(he)+"; font-weight: bold";j[Yt]("%c next state",nn,he)}else j[Yt]("next state",he);Ve&&P(Z,he,j,Te);try{j.groupEnd()}catch{j.log("—— log end ——")}})}function L(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=Object.assign({},De,H),j=Q.logger,ce=Q.stateTransformer,Ee=Q.errorTransformer,Ie=Q.predicate,Fe=Q.logErrors,Le=Q.diffPredicate;if(typeof j>"u")return function(){return function(Ve){return function(yt){return Ve(yt)}}};if(H.getState&&H.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
|
|
625
625
|
// Logger with default options
|
|
626
626
|
import { logger } from 'redux-logger'
|
|
627
627
|
const store = createStore(
|