var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var o in e)c(t,o,{get:e[o],enumerable:!0})},r=(t,e,o,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of s(e))!S.call(t,l)&&l!==o&&c(t,l,{get:()=>e[l],enumerable:!(d=p(e,l))||d.enumerable});return t};var w=t=>r(c({},"__esModule",{value:!0}),t);var M={};u(M,{default:()=>y,initialState:()=>i,updateCollectionViewOpen:()=>f,updateSelectedCollectionId:()=>I,updateSelectedSpaceId:()=>h,updateShowMint:()=>C});module.exports=w(M);var a=require("@reduxjs/toolkit"),i={selectedCollectionId:null,showMint:!1,collectionViewOpen:!1,selectedSpaceId:!1},n=(0,a.createSlice)({name:"collection",initialState:i,reducers:{updateSelectedCollectionId(t,{payload:{id:e}}){t.selectedCollectionId=e},updateShowMint(t,{payload:{showMint:e}}){t.showMint=e},updateCollectionViewOpen(t,{payload:{collectionViewOpen:e}}){t.collectionViewOpen=e},updateSelectedSpaceId(t,{payload:{id:e}}){t.selectedSpaceId=e}}}),{updateSelectedCollectionId:I,updateShowMint:C,updateCollectionViewOpen:f,updateSelectedSpaceId:h}=n.actions,y=n.reducer;0&&(module.exports={initialState,updateCollectionViewOpen,updateSelectedCollectionId,updateSelectedSpaceId,updateShowMint});
